Created
March 11, 2021 09:59
-
-
Save jboynyc/2718e760749a2610a3cc81c87d8f96a7 to your computer and use it in GitHub Desktop.
Running r-cade on NixOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On a system with nix, all should have to do to use r-cade is
nix-shell --run drracket
.