From 93d84f953f0f05017a32c0fac82b91be962dd830 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 22 Jul 2024 22:28:14 +0100 Subject: [PATCH] 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 --- pkgs/by-name/au/autoprefixer/tests/simple-execution.nix | 4 ++-- 1 file 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}')"