about summary refs log tree commit diff
path: root/pkgs/by-name/au
diff options
context:
space:
mode:
authorSergei Trofimovich2024-07-22 22:28:14 +0100
committerSergei Trofimovich2024-07-22 22:28:14 +0100
commit93d84f953f0f05017a32c0fac82b91be962dd830 (patch)
tree410a2260dd1295714d8a6e437bd177291dc55455 /pkgs/by-name/au
parent48b8f3cbb78cb2b98287e817525fcd17ff605a76 (diff)
autoprefixer.tests: fix the eval
Without the change thee val fails as:

    $ nix build --no-link -f. autoprefixer.tests
    ...
       error: attribute 'packageName' missing
       at pkgs/by-name/au/autoprefixer/tests/simple-execution.nix:4:26:
            3| let
            4|   inherit (autoprefixer) packageName version;
             |                          ^
            5| in
Diffstat (limited to 'pkgs/by-name/au')
-rw-r--r--pkgs/by-name/au/autoprefixer/tests/simple-execution.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/au/autoprefixer/tests/simple-execution.nix b/pkgs/by-name/au/autoprefixer/tests/simple-execution.nix
index c889795a2ef5..9445a0bded5f 100644
--- a/pkgs/by-name/au/autoprefixer/tests/simple-execution.nix
+++ b/pkgs/by-name/au/autoprefixer/tests/simple-execution.nix
@@ -1,10 +1,10 @@
 { runCommand, autoprefixer }:
 
 let
-  inherit (autoprefixer) packageName version;
+  inherit (autoprefixer) pname version;
 in
 
-runCommand "${packageName}-tests" { meta.timeout = 60; }
+runCommand "${pname}-tests" { meta.timeout = 60; }
   ''
     # get version of installed program and compare with package version
     claimed_version="$(${autoprefixer}/bin/autoprefixer --version | awk '{print $2}')"