Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
lixVersions,
clippy,
makeWrapper,
versionCheckHook,

nixVersionsToTest ? [
nix
Expand Down Expand Up @@ -44,6 +45,9 @@ rustPlatform.buildRustPackage {
makeWrapper
];

doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];

env.NIXPKGS_VET_NIX_PACKAGE = lib.getBin nix;
env.NIXPKGS_VET_NIXPKGS_LIB = "${path}/lib";

Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ use crate::validation::Validation::Success;
/// - Informative messages
/// - Detected problems if validation is not successful
#[derive(Parser, Debug)]
#[command(about, verbatim_doc_comment)]
#[command(about, version, verbatim_doc_comment)]
pub struct Args {
/// Path to the main Nixpkgs to check. For PRs, set this to a checkout of the PR branch.
nixpkgs: PathBuf,
Expand Down