We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae6bebc commit 1efbc6bCopy full SHA for 1efbc6b
.devops/nix/package.nix
@@ -124,12 +124,20 @@ effectiveStdenv.mkDerivation (
124
substituteInPlace ./*.py --replace "/usr/bin/env python" "${llama-python}/bin/python"
125
'';
126
127
- nativeBuildInputs = [
128
- cmake
129
- ninja
130
- pkg-config
131
- git
132
- ] ++ optionals useCuda [ cudaPackages.cuda_nvcc ];
+ nativeBuildInputs =
+ [
+ cmake
+ ninja
+ pkg-config
+ git
133
+ ]
134
+ ++ optionals useCuda [
135
+ cudaPackages.cuda_nvcc
136
+
137
+ # TODO: Replace with autoAddDriverRunpath
138
+ # once https://github.com/NixOS/nixpkgs/pull/275241 has been merged
139
+ cudaPackages.autoAddOpenGLRunpathHook
140
+ ];
141
142
buildInputs =
143
[ mpi ]
0 commit comments