diff options
author | K900 <me@0upti.me> | 2023-02-16 19:11:19 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2023-02-16 19:11:19 +0300 |
commit | 84434922bcb77dda8bdde7818276dc730cfc0af0 (patch) | |
tree | 12db36cd4a50f1083a75555ac87e8252c75a563e /nixos/tests/quake3.nix | |
parent | a456da3490fc245c908654d6efed64a78b67763e (diff) |
nixos/tests/quake3: fix eval
Diffstat (limited to 'nixos/tests/quake3.nix')
-rw-r--r-- | nixos/tests/quake3.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/tests/quake3.nix b/nixos/tests/quake3.nix index 82af1af463d03..ef5fcc41476bc 100644 --- a/nixos/tests/quake3.nix +++ b/nixos/tests/quake3.nix @@ -1,4 +1,4 @@ -import ./make-test-python.nix ({ pkgs, ...} : +import ./make-test-python.nix ({ pkgs, lib, ...} : let @@ -11,9 +11,9 @@ let }; # Only allow the demo data to be used (only if it's unfreeRedistributable). - unfreePredicate = pkg: with pkgs.lib; let + unfreePredicate = pkg: with lib; let allowPackageNames = [ "quake3-demodata" "quake3-pointrelease" ]; - allowLicenses = [ pkgs.lib.licenses.unfreeRedistributable ]; + allowLicenses = [ lib.licenses.unfreeRedistributable ]; in elem pkg.pname allowPackageNames && elem (pkg.meta.license or null) allowLicenses; @@ -31,7 +31,7 @@ in rec { name = "quake3"; - meta = with pkgs.stdenv.lib.maintainers; { + meta = with lib.maintainers; { maintainers = [ domenkozar eelco ]; }; |