From 261a45e4b618d53bcdc2f5c4bf8c66ff2d216dc3 Mon Sep 17 00:00:00 2001 From: Lucas Montenegro Date: Wed, 18 Sep 2024 19:20:31 -0300 Subject: [PATCH] Added a shell.nix file to help nix users build locally --- shell.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..4e3ecfd --- /dev/null +++ b/shell.nix @@ -0,0 +1,12 @@ +{ pkgs ? import { } }: +pkgs.llvmPackages.stdenv.mkDerivation { + name = "gltut"; + nativeBuildInputs = with pkgs;[ cmake pkg-config autoconf autoreconfHook ]; + buildInputs = with pkgs;[ + libtool + libGL + xorg.libX11 + xorg.libXi + libGLU + ]; +}