Skip to content

Commit 28e15a8

Browse files
committed
treewide: Remove redundant versionCheckProgramArg = "--version"; with:
```shell git grep -l -e 'versionCheckProgramArg = "--version";' -e 'versionCheckProgramArg = \[ "--version" \];' | while read f; do sed -i '/versionCheckProgramArg/d' "$f" sed -i '/^$/N;/\n$/D' "$f" done ```
1 parent 0883d6d commit 28e15a8

File tree

632 files changed

+0
-702
lines changed

Some content is hidden

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

632 files changed

+0
-702
lines changed

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)

pkgs/applications/virtualization/singularity/generic.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ in
277277
versionCheckHook
278278
];
279279
versionCheckProgram = "${placeholder "out"}/bin/${projectName}";
280-
versionCheckProgramArg = "--version";
281280
doInstallCheck = true;
282281

283282
meta = {

0 commit comments

Comments
 (0)