From b332618faec9845708eb3abbfa04741dcd639b7e Mon Sep 17 00:00:00 2001 From: mehbark Date: Sun, 24 Dec 2023 13:30:00 -0500 Subject: [PATCH] actually include raylib (nix is simple sometimes) --- flake.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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)} \ + $@ ''; });