Merge pull request #146802 from 0x4A6F/master-trivial-builder-testVersion
testVersion: name runCommand after package.name
This commit is contained in:
commit
ee1c5afbb5
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue