summary refs log tree commit diff
path: root/nixos/tests/quake3.nix
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2023-02-16 19:11:19 +0300
committerK900 <me@0upti.me>2023-02-16 19:11:19 +0300
commit84434922bcb77dda8bdde7818276dc730cfc0af0 (patch)
tree12db36cd4a50f1083a75555ac87e8252c75a563e /nixos/tests/quake3.nix
parenta456da3490fc245c908654d6efed64a78b67763e (diff)
downloadnixpkgs-84434922bcb77dda8bdde7818276dc730cfc0af0.tar
nixpkgs-84434922bcb77dda8bdde7818276dc730cfc0af0.tar.gz
nixpkgs-84434922bcb77dda8bdde7818276dc730cfc0af0.tar.bz2
nixpkgs-84434922bcb77dda8bdde7818276dc730cfc0af0.tar.lz
nixpkgs-84434922bcb77dda8bdde7818276dc730cfc0af0.tar.xz
nixpkgs-84434922bcb77dda8bdde7818276dc730cfc0af0.tar.zst
nixpkgs-84434922bcb77dda8bdde7818276dc730cfc0af0.zip
nixos/tests/quake3: fix eval
Diffstat (limited to 'nixos/tests/quake3.nix')
-rw-r--r--nixos/tests/quake3.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/tests/quake3.nix b/nixos/tests/quake3.nix
index 82af1af463d..ef5fcc41476 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 ];
   };