Skip to content

Commit

Permalink
Added a shell.nix file to help nix users build locally
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Montenegro committed Sep 18, 2024
1 parent 849521f commit 261a45e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{ pkgs ? import <nixpkgs> { } }:
pkgs.llvmPackages.stdenv.mkDerivation {
name = "gltut";
nativeBuildInputs = with pkgs;[ cmake pkg-config autoconf autoreconfHook ];
buildInputs = with pkgs;[
libtool
libGL
xorg.libX11
xorg.libXi
libGLU
];
}

0 comments on commit 261a45e

Please sign in to comment.