tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/tests/quake3.nix: get rid of `with lib`
Anderson Torres
2 years ago
dc5919aa
5bba43ec
+3
-3
1 changed file
expand all
collapse all
unified
split
nixos
tests
quake3.nix
+3
-3
nixos/tests/quake3.nix
···
11
11
};
12
12
13
13
# Only allow the demo data to be used (only if it's unfreeRedistributable).
14
14
-
unfreePredicate = pkg: with lib; let
14
14
+
unfreePredicate = pkg: let
15
15
allowPackageNames = [ "quake3-demodata" "quake3-pointrelease" ];
16
16
allowLicenses = [ lib.licenses.unfreeRedistributable ];
17
17
-
in elem pkg.pname allowPackageNames &&
18
18
-
elem (pkg.meta.license or null) allowLicenses;
17
17
+
in lib.elem pkg.pname allowPackageNames &&
18
18
+
lib.elem (pkg.meta.license or null) allowLicenses;
19
19
20
20
client =
21
21
{ pkgs, ... }: