Skip to content

Commit 47bd04c

Browse files
committed
colmap: use pkgs.autoAddDriverRunpath
1 parent c8f981b commit 47bd04c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pkgs/applications/science/misc/colmap/default.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{ mkDerivation, lib, fetchFromGitHub, cmake, boost179, ceres-solver, eigen,
22
freeimage, glog, libGLU, glew, qtbase,
3+
autoAddDriverRunpath,
34
config,
4-
cudaSupport ? config.cudaSupport, cudaPackages }:
5+
cudaSupport ? config.cudaSupport, cudaPackages
6+
}:
57

68
assert cudaSupport -> cudaPackages != { };
79

@@ -37,7 +39,7 @@ mkDerivation rec {
3739
nativeBuildInputs = [
3840
cmake
3941
] ++ lib.optionals cudaSupport [
40-
cudaPackages.autoAddDriverRunpath
42+
autoAddDriverRunpath
4143
];
4244

4345
meta = with lib; {

0 commit comments

Comments
 (0)