diff --git a/flake.nix b/flake.nix index 8df3f04..032c67f 100644 --- a/flake.nix +++ b/flake.nix @@ -15,9 +15,10 @@ packages = forEachSupportedSystem ({ pkgs }: { default = pkgs.writeShellScriptBin "mineschemer" '' - ${pkgs.chez}/bin/scheme --script ${ - pkgs.writeText "main.scm" (builtins.readFile ./main.scm) - } $@ + ${pkgs.chez}/bin/scheme \ + --libdirs ${pkgs.raylib}/lib \ + --script ${pkgs.writeText "main.scm" (builtins.readFile ./main.scm)} \ + $@ ''; });