Skip to content

Commit feb4539

Browse files
authored
versionCheckHook: Check for --version first (#463218)
2 parents f7764be + 116036d commit feb4539

File tree

633 files changed

+2
-700
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

633 files changed

+2
-700
lines changed

doc/hooks/versionCheckHook.section.md

Lines changed: 1 addition & 1 deletion

pkgs/applications/blockchains/bitcoin-knots/default.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ stdenv.mkDerivation (finalAttrs: {
187187
versionCheckHook
188188
];
189189
versionCheckProgram = "${placeholder "out"}/bin/bitcoin-cli";
190-
versionCheckProgramArg = "--version";
191190
doInstallCheck = true;
192191

193192
meta = {

pkgs/applications/blockchains/bitcoin/default.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ stdenv.mkDerivation (finalAttrs: {
187187
versionCheckHook
188188
];
189189
versionCheckProgram = "${placeholder "out"}/bin/bitcoin-cli";
190-
versionCheckProgramArg = "--version";
191190
doInstallCheck = true;
192191

193192
passthru.tests = {

pkgs/applications/editors/vim/plugins/non-generated/cord-nvim/default.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ let
3232
nativeInstallCheckInputs = [
3333
versionCheckHook
3434
];
35-
versionCheckProgramArg = "--version";
3635
doInstallCheck = false;
3736

3837
meta.mainProgram = "cord";

pkgs/applications/networking/cluster/helm/plugins/helm-schema.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ buildGoModule (finalAttrs: {
4646
doInstallCheck = true;
4747
nativeInstallCheckInputs = [ versionCheckHook ];
4848
versionCheckProgram = "${placeholder "out"}/helm-schema/bin/schema";
49-
versionCheckProgramArg = "--version";
5049

5150
passthru.updateScript = nix-update-script { };
5251

pkgs/applications/networking/cluster/k3s/builder.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,6 @@ buildGoModule (finalAttrs: {
449449

450450
doInstallCheck = true;
451451
nativeInstallCheckInputs = [ versionCheckHook ];
452-
versionCheckProgramArg = "--version";
453452

454453
passthru = {
455454
inherit

pkgs/applications/networking/cluster/kubectl-view-allocations/default.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ rustPlatform.buildRustPackage rec {
2121

2222
doInstallCheck = true;
2323
nativeInstallCheckInputs = [ versionCheckHook ];
24-
versionCheckProgramArg = "--version";
2524

2625
meta = {
2726
description = "kubectl plugin to list allocations (cpu, memory, gpu,... X utilization, requested, limit, allocatable,...)";

pkgs/applications/networking/irc/weechat/default.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ stdenv.mkDerivation rec {
174174

175175
doInstallCheck = true;
176176
nativeInstallCheckInputs = [ versionCheckHook ];
177-
versionCheckProgramArg = "--version";
178177

179178
passthru.updateScript = writeScript "update-weechat" ''
180179
#!/usr/bin/env nix-shell

pkgs/applications/networking/mullvad/mullvad.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ rustPlatform.buildRustPackage rec {
110110
nativeInstallCheckInputs = [
111111
versionCheckHook
112112
];
113-
versionCheckProgramArg = "--version";
114113
doInstallCheck = true;
115114

116115
passthru = {

pkgs/applications/virtualization/docker/default.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,6 @@ let
352352

353353
doInstallCheck = true;
354354
nativeInstallCheckInputs = [ versionCheckHook ];
355-
versionCheckProgramArg = "--version";
356355

357356
passthru = {
358357
# Exposed for tarsum build on non-linux systems (build-support/docker/default.nix)

0 commit comments

Comments
 (0)