diff options
author | Arnout Engelen <arnout@bzzt.net> | 2021-11-21 14:46:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-21 14:46:47 +0100 |
commit | ee1c5afbb56c6ba8d3e0afc1eb5a1672cc4f609d (patch) | |
tree | 4762c510e3a75a6bf7d452fe17ade968bf0a2deb /pkgs | |
parent | 1a6840edd017ea52af43bf9308d2e2e2492da0a3 (diff) | |
parent | 0ca14515c6ed3c4f80afd80b315cf7bcf559200a (diff) |
Merge pull request #146802 from 0x4A6F/master-trivial-builder-testVersion
testVersion: name runCommand after package.name
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/build-support/trivial-builders.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/trivial-builders.nix b/pkgs/build-support/trivial-builders.nix index 2966675be7ca..3c9f3189d2cf 100644 --- a/pkgs/build-support/trivial-builders.nix +++ b/pkgs/build-support/trivial-builders.nix @@ -749,7 +749,7 @@ rec { { package, command ? "${package.meta.mainProgram or package.pname or package.name} --version", version ? package.version, - }: runCommand "test-version" { nativeBuildInputs = [ package ]; meta.timeout = 60; } '' + }: runCommand "${package.name}-test-version" { nativeBuildInputs = [ package ]; meta.timeout = 60; } '' ${command} |& grep -Fw ${version} touch $out ''; |