From a8cfa29cbc5b8c63bc2f81801ea8549f48d7fccd Mon Sep 17 00:00:00 2001 From: Ulysse Cura Date: Thu, 16 Jul 2026 22:39:23 +0200 Subject: [PATCH] Moving to NixOS ! --- shell.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..2a4c63b --- /dev/null +++ b/shell.nix @@ -0,0 +1,17 @@ +with import {}; +stdenv.mkDerivation { + name = "env"; + nativeBuildInputs = [ + gnumake + gcc + pkg-config + ]; + buildInputs = [ + SDL2 + SDL2_image + ]; + shellHook = '' + export LD_LIBRARY_PATH=${pkgs.SDL2}/lib:${pkgs.SDL2_image}/lib:$LD_LIBRARY_PATH + export PKG_CONFIG_PATH=${pkgs.SDL2}/lib/pkgconfig:${pkgs.SDL2_image}/lib/pkgconfig:$PKG_CONFIG_PATH + ''; +}