nix-init: add passthru.tests.version
This commit is contained in:
parent
b128929035
commit
26cea2436d
@ -16,6 +16,8 @@
|
||||
spdx-license-list-data,
|
||||
nix,
|
||||
nurl,
|
||||
testers,
|
||||
nix-init,
|
||||
}:
|
||||
|
||||
let
|
||||
@ -92,6 +94,10 @@ rustPlatform.buildRustPackage rec {
|
||||
ZSTD_SYS_USE_PKG_CONFIG = true;
|
||||
};
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = nix-init;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command line tool to generate Nix packages from URLs";
|
||||
mainProgram = "nix-init";
|
||||
|
Loading…
Reference in New Issue
Block a user