actually include raylib (nix is simple sometimes)
This commit is contained in:
parent
557eb3316e
commit
b332618fae
1 changed files with 4 additions and 3 deletions
|
@ -15,9 +15,10 @@
|
||||||
|
|
||||||
packages = forEachSupportedSystem ({ pkgs }: {
|
packages = forEachSupportedSystem ({ pkgs }: {
|
||||||
default = pkgs.writeShellScriptBin "mineschemer" ''
|
default = pkgs.writeShellScriptBin "mineschemer" ''
|
||||||
${pkgs.chez}/bin/scheme --script ${
|
${pkgs.chez}/bin/scheme \
|
||||||
pkgs.writeText "main.scm" (builtins.readFile ./main.scm)
|
--libdirs ${pkgs.raylib}/lib \
|
||||||
} $@
|
--script ${pkgs.writeText "main.scm" (builtins.readFile ./main.scm)} \
|
||||||
|
$@
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue