about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2023-12-28 06:49:32 +0000
committerSergei Trofimovich <slyich@gmail.com>2023-12-28 06:50:22 +0000
commit15a672bf1f329115270ba2e63b0d4f0e49e58098 (patch)
tree89e4800dadafd95367ce1477234b85291ecfa757 /nixos/tests
parent55b8e90b5f2787592fc30501eb30b5c82dc70b7a (diff)
downloadnixlib-15a672bf1f329115270ba2e63b0d4f0e49e58098.tar
nixlib-15a672bf1f329115270ba2e63b0d4f0e49e58098.tar.gz
nixlib-15a672bf1f329115270ba2e63b0d4f0e49e58098.tar.bz2
nixlib-15a672bf1f329115270ba2e63b0d4f0e49e58098.tar.lz
nixlib-15a672bf1f329115270ba2e63b0d4f0e49e58098.tar.xz
nixlib-15a672bf1f329115270ba2e63b0d4f0e49e58098.tar.zst
nixlib-15a672bf1f329115270ba2e63b0d4f0e49e58098.zip
nixosTests.tomcat: add `lib` to imports to fix eval
Without the change eval fails as:

    $ nix build --no-link -f. nixosTests.tomcat

        error: undefined variable 'lib'
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/tomcat.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/tomcat.nix b/nixos/tests/tomcat.nix
index ff58ca8ac618..df5cb033b78f 100644
--- a/nixos/tests/tomcat.nix
+++ b/nixos/tests/tomcat.nix
@@ -1,4 +1,4 @@
-import ./make-test-python.nix ({ pkgs, ... }: {
+import ./make-test-python.nix ({ lib, pkgs, ... }: {
   name = "tomcat";
   meta.maintainers = [ lib.maintainers.anthonyroussel ];