tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
lucky-commit: use buildNoDefaultFeatures
figsoda
4 years ago
94e7e214
6189ca3a
+1
-1
1 changed file
expand all
collapse all
unified
split
pkgs
applications
version-management
git-and-tools
lucky-commit
default.nix
+1
-1
pkgs/applications/version-management/git-and-tools/lucky-commit/default.nix
···
22
22
23
23
buildInputs = lib.optional withOpenCL (if stdenv.isDarwin then OpenCL else ocl-icd);
24
24
25
25
-
cargoBuildFlags = lib.optional (!withOpenCL) "--no-default-features";
25
25
+
buildNoDefaultFeatures = !withOpenCL;
26
26
27
27
# disable tests that require gpu
28
28
checkNoDefaultFeatures = true;