Skip to content

Commit

Permalink
This was missing.
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamHDue committed Jun 3, 2024
1 parent e4ce411 commit 748651a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ let pkg =
ncurses5 binutils
opencl-headers
clinfo
# gcc11
# stdenv.cc
gcc11
gmp
ispc
ocl-icd
Expand All @@ -41,7 +40,7 @@ let pkg =
in pkg.overrideAttrs (attrs: {
shellHook = attrs.shellHook + ''
export CUDA_PATH=${pkgs.cudatoolkit}
# export LD_LIBRARY_PATH=${pkgs.linuxPackages.nvidia_x11}/lib:${pkgs.ncurses5}/lib
export LD_LIBRARY_PATH=${pkgs.linuxPackages.nvidia_x11}/lib:${pkgs.ncurses5}/lib
export EXTRA_LDFLAGS="-L/lib -L${pkgs.linuxPackages.nvidia_x11}/lib"
export EXTRA_CCFLAGS="-I/usr/include"
'';
Expand Down

0 comments on commit 748651a

Please sign in to comment.