justbuild: add tests.version test
This commit is contained in:
committed by
Gaétan Lepage
parent
8c4502b9ef
commit
a9679031d9
@@ -23,6 +23,9 @@
|
||||
|
||||
curl,
|
||||
libarchive,
|
||||
|
||||
testers,
|
||||
justbuild,
|
||||
}:
|
||||
let
|
||||
stdenv = gccStdenv;
|
||||
@@ -167,6 +170,14 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = justbuild;
|
||||
command = "just version";
|
||||
version = builtins.replaceStrings [ "." ] [ "," ] version;
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
description = "Generic build tool";
|
||||
|
||||
Reference in New Issue
Block a user