tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
colmap: use pkgs.autoAddDriverRunpath
Jonathan Ringer
2 years ago
47bd04c9
c8f981bf
+4
-2
1 changed file
expand all
collapse all
unified
split
pkgs
applications
science
misc
colmap
default.nix
+4
-2
pkgs/applications/science/misc/colmap/default.nix
···
1
1
{ mkDerivation, lib, fetchFromGitHub, cmake, boost179, ceres-solver, eigen,
2
2
freeimage, glog, libGLU, glew, qtbase,
3
3
+
autoAddDriverRunpath,
3
4
config,
4
4
-
cudaSupport ? config.cudaSupport, cudaPackages }:
5
5
+
cudaSupport ? config.cudaSupport, cudaPackages
6
6
+
}:
5
7
6
8
assert cudaSupport -> cudaPackages != { };
7
9
···
37
39
nativeBuildInputs = [
38
40
cmake
39
41
] ++ lib.optionals cudaSupport [
40
40
-
cudaPackages.autoAddDriverRunpath
42
42
+
autoAddDriverRunpath
41
43
];
42
44
43
45
meta = with lib; {