Skip to content

Instantly share code, notes, and snippets.

@jboynyc
Created March 11, 2021 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jboynyc/2718e760749a2610a3cc81c87d8f96a7 to your computer and use it in GitHub Desktop.
Save jboynyc/2718e760749a2610a3cc81c87d8f96a7 to your computer and use it in GitHub Desktop.
Running r-cade on NixOS
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "r-cade";
buildInputs = [ racket openal csfml libsndfile ];
LD_LIBRARY_PATH="${csfml}/lib:${libsndfile}/lib:${openal}/lib";
shellHook = ''
raco pkg install r-cade
'';
}
@jboynyc
Copy link
Author

jboynyc commented Mar 11, 2021

On a system with nix, all should have to do to use r-cade is nix-shell --run drracket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment