nix: add the impure driver's location to the DT_RUNPATHs
This commit is contained in:
parent
ae6bebccb1
commit
1efbc6b064
1 changed files with 14 additions and 6 deletions
|
@ -124,12 +124,20 @@ effectiveStdenv.mkDerivation (
|
|||
substituteInPlace ./*.py --replace "/usr/bin/env python" "${llama-python}/bin/python"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
pkg-config
|
||||
git
|
||||
] ++ optionals useCuda [ cudaPackages.cuda_nvcc ];
|
||||
nativeBuildInputs =
|
||||
[
|
||||
cmake
|
||||
ninja
|
||||
pkg-config
|
||||
git
|
||||
]
|
||||
++ optionals useCuda [
|
||||
cudaPackages.cuda_nvcc
|
||||
|
||||
# TODO: Replace with autoAddDriverRunpath
|
||||
# once https://github.com/NixOS/nixpkgs/pull/275241 has been merged
|
||||
cudaPackages.autoAddOpenGLRunpathHook
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
[ mpi ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue