treewide: use a string for versionCheckProgramArg where possible

This commit is contained in:
Gaetan Lepage 2025-04-05 14:02:09 +02:00
parent 99fd632352
commit bfe27cf81c
232 changed files with 233 additions and 233 deletions

View File

@ -72,7 +72,7 @@ python3Packages.buildPythonApplication rec {
pytestCheckHook
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
preCheck =
let

View File

@ -130,7 +130,7 @@ stdenv.mkDerivation (finalAttrs: {
versionCheckHook
];
versionCheckProgram = "${placeholder "out"}/bin/bitcoin-cli";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.tests = {

View File

@ -194,7 +194,7 @@ stdenv.mkDerivation rec {
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "-h" ];
versionCheckProgramArg = "-h";
passthru.updateScript = writeScript "mame-update-script" ''
#!/usr/bin/env nix-shell

View File

@ -110,7 +110,7 @@ rustPlatform.buildRustPackage rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -90,7 +90,7 @@ buildGoModule rec {
];
doInstallCheck = true;
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
versionCheckProgramArg = [ "version" ];
versionCheckProgramArg = "version";
passthru = {
tests = {

View File

@ -80,7 +80,7 @@ stdenv.mkDerivation {
doInstallCheck = true;
versionCheckProgram = "${builtins.placeholder "out"}/bin/${mainProgram}";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
passthru = {
updateScript = ./update.sh;

View File

@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -28,7 +28,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
versionCheckHook
];
versionCheckProgram = "${placeholder "out"}/bin/air";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -48,7 +48,7 @@ rustPlatform.buildRustPackage rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -56,7 +56,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };

View File

@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
];
doInstallCheck = true;
versionCheckProgram = "${placeholder "out"}/bin/avrogencpp";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
meta = {
description = "C++ library which implements parts of the Avro Specification";

View File

@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
versionCheckHook
];
doInstallCheck = true;
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
meta = with lib; {
description = "Small binary that runs a list of commands in parallel and awaits termination";

View File

@ -28,7 +28,7 @@ buildGoModule rec {
doInstallCheck = true;
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
meta = {
description = "Azure Data Exporter for BloodHound";

View File

@ -54,7 +54,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
buildInputs = lib.optionals withSound soundDependencies;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
postInstall =

View File

@ -49,7 +49,7 @@ buildNpmPackage rec {
'';
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -23,7 +23,7 @@ buildGoModule rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "-version" ];
versionCheckProgramArg = "-version";
doInstallCheck = true;
passthru = {

View File

@ -33,7 +33,7 @@ buildGoModule rec {
];
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };

View File

@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
];
doInstallCheck = true;
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
meta = with lib; {
homepage = "https://rtyley.github.io/bfg-repo-cleaner/";

View File

@ -29,7 +29,7 @@ stdenv.mkDerivation (finalAttrs: {
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "-v" ];
versionCheckProgramArg = "-v";
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };

View File

@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec {
];
doInstallCheck = true;
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
# Found argument '--test-threads' which wasn't expected, or isn't valid in this context
doCheck = false;

View File

@ -30,7 +30,7 @@ buildGoModule (finalAttrs: {
doInstallCheck = true;
versionCheckProgram = "${placeholder "out"}/bin/bsky";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
nativeBuildInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };

View File

@ -47,7 +47,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };

View File

@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -25,7 +25,7 @@ buildRubyGem rec {
versionCheckHook
];
versionCheckProgram = "${placeholder "out"}/bin/bundler";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -31,7 +31,7 @@ rustPlatform.buildRustPackage rec {
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
passthru = {
updateScript = nix-update-script { };

View File

@ -45,7 +45,7 @@ rustPlatform.buildRustPackage rec {
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
meta = {
description = "Cargo plugin for showing a tree-like overview of a crate's modules";

View File

@ -29,7 +29,7 @@ buildGoModule rec {
doInstallCheck = true;
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
meta = with lib; {
description = "Tool to communicate with Chaos DNS API";

View File

@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
'';
nativeInstallCheckPhaseInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = ./update.sh;

View File

@ -111,7 +111,7 @@ stdenv.mkDerivation rec {
doInstallCheck = true;
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
passthru = {
inherit sources;

View File

@ -29,7 +29,7 @@ buildGoModule rec {
doInstallCheck = true;
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
meta = with lib; {
description = "Tool for listing assets from multiple cloud providers";

View File

@ -60,7 +60,7 @@ stdenv.mkDerivation (finalAttrs: {
versionCheckHook
];
versionCheckProgram = "${placeholder "out"}/bin/codeium_language_server";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = ./update.sh;

View File

@ -28,7 +28,7 @@ rustPlatform.buildRustPackage rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };

View File

@ -95,7 +95,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
installCheckPhase = ''
runHook preInstallCheck

View File

@ -41,7 +41,7 @@ buildGoModule rec {
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
meta = {
description = "Gives criticality score for an open source project";

View File

@ -73,7 +73,7 @@ rustPlatform.buildRustPackage rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };

View File

@ -21,7 +21,7 @@ buildDotnetGlobalTool rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };

View File

@ -54,7 +54,7 @@ rustPlatform.buildRustPackage rec {
];
doInstallCheck = true;
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
passthru.updateScript = nix-update-script { };

View File

@ -86,7 +86,7 @@ let
versionCheckHook
];
versionCheckProgram = "${placeholder "out"}/bin/czkawka_cli";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -196,7 +196,7 @@ stdenv.mkDerivation rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = gitUpdater {

View File

@ -49,7 +49,7 @@ buildGoModule rec {
'';
doInstallCheck = true;
versionCheckProgramArg = [ "version" ];
versionCheckProgramArg = "version";
nativeInstallCheckInputs = [
versionCheckHook
];

View File

@ -68,7 +68,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -26,7 +26,7 @@ python3Packages.buildPythonApplication rec {
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
pythonImportsCheck = [ "django_upgrade" ];

View File

@ -110,7 +110,7 @@ buildGoModule rec {
versionCheckHook
];
versionCheckProgram = "${placeholder "out"}/bin/dnote-cli";
versionCheckProgramArg = [ "version" ];
versionCheckProgramArg = "version";
# Fails on darwin:
# panic: initializing context: initializing files: creating the dnote dir:
# initializing config dir: creating a directory at /var/empty/.config/dnote: mkdir /var/empty: file exists

View File

@ -32,7 +32,7 @@ buildGoModule rec {
doInstallCheck = true;
versionCheckProgramArg = [ "-version" ];
versionCheckProgramArg = "-version";
meta = with lib; {
description = "Fast and multi-purpose DNS toolkit";

View File

@ -36,7 +36,7 @@ rustPlatform.buildRustPackage rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };

View File

@ -108,7 +108,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -110,7 +110,7 @@ stdenv.mkDerivation (finalAttrs: {
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
versionCheckProgram = "${placeholder "out"}/bin/dwarfs";
meta = {

View File

@ -40,7 +40,7 @@ buildNpmPackage rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = writeShellScript "update-elm-land" ''

View File

@ -38,7 +38,7 @@ rustPlatform.buildRustPackage rec {
doInstallCheck = true;
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
passthru.updateScript = nix-update-script { };

View File

@ -25,7 +25,7 @@ buildGoModule rec {
versionCheckHook
];
versionCheckProgramArg = [ "version" ];
versionCheckProgramArg = "version";
doInstallCheck = true;
passthru = {

View File

@ -71,7 +71,7 @@ buildNpmPackage (finalAttrs: {
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgram = "${placeholder "out"}/bin/filen";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
# Writes $HOME/Library/Application Support on darwin
doInstallCheck = !stdenv.hostPlatform.isDarwin;

View File

@ -30,7 +30,7 @@ python3Packages.buildPythonApplication rec {
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
meta = {
description = "Concatenate a directory full of files into a single prompt for use with LLMs";

View File

@ -331,7 +331,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
# Ensure that we don't vendor libpcre2, but instead link against the one from nixpkgs

View File

@ -42,7 +42,7 @@ buildGoModule rec {
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
passthru = {
updateScript = nix-update-script { };

View File

@ -39,7 +39,7 @@ rustPlatform.buildRustPackage rec {
versionCheckHook
];
versionCheckProgram = "${placeholder "out"}/bin/forge";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };

View File

@ -57,7 +57,7 @@ buildGoModule rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "version" ];
versionCheckProgramArg = "version";
doInstallCheck = false;
passthru.updateScript = nix-update-script { };

View File

@ -56,7 +56,7 @@ stdenv.mkDerivation (finalAttrs: {
addBinToPathHook
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
disabledTests = lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
# Numerical precision error

View File

@ -26,7 +26,7 @@ buildGoModule rec {
versionCheckHook
];
versionCheckProgram = "${placeholder "out"}/bin/geteduroam-cli";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -158,7 +158,7 @@ stdenv.mkDerivation (finalAttrs: {
doInstallCheck = true;
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
passthru = {
tests = lib.optionalAttrs stdenv.hostPlatform.isLinux {

View File

@ -95,7 +95,7 @@ buildGoModule rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -118,7 +118,7 @@ perlPackages.buildPerlPackage rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -49,7 +49,7 @@ buildGoModule rec {
];
doInstallCheck = true;
versionCheckProgram = "${placeholder "out"}/bin/task";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
passthru.updateScript = nix-update-script { };

View File

@ -26,7 +26,7 @@ buildGoModule rec {
];
nativeCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
meta = {

View File

@ -22,7 +22,7 @@ buildGoModule rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "-v" ];
versionCheckProgramArg = "-v";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };

View File

@ -27,7 +27,7 @@ buildGoModule rec {
ldflags = [ "-s" ];
nativeCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };

View File

@ -61,7 +61,7 @@ rustPlatform.buildRustPackage rec {
versionCheckHook
];
versionCheckProgram = [ "${placeholder "out"}/bin/golem-cli" ];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -37,7 +37,7 @@ buildGoModule rec {
versionCheckHook
];
versionCheckProgramArg = [ "-v" ];
versionCheckProgramArg = "-v";
meta = {
description = "Go manage your Ollama models";

View File

@ -47,7 +47,7 @@ buildGoModule {
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -31,7 +31,7 @@ buildGoModule rec {
doInstallCheck = true;
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
meta = with lib; {
description = "Tool for API and OWASP attack simulation";

View File

@ -42,7 +42,7 @@ rustPlatform.buildRustPackage rec {
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
passthru.updateScript = nix-update-script { };

View File

@ -57,7 +57,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -45,7 +45,7 @@ buildGoModule rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };

View File

@ -61,7 +61,7 @@ rustPlatform.buildRustPackage rec {
];
doInstallCheck = true;
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
passthru.updateScript = nix-update-script { };

View File

@ -70,7 +70,7 @@ python3Packages.buildPythonApplication rec {
darwin.ps
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
pytestFlagsArray =
[

View File

@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-gja8bVsnumJ0R3sN1WBV6WXAWjO9v/K+uBpNO1cTgRs=";
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };

View File

@ -22,7 +22,7 @@ buildGoModule rec {
nativeInstallCheckHooks = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -46,7 +46,7 @@ rustPlatform.buildRustPackage rec {
versionCheckHook
];
versionCheckProgram = "${placeholder "out"}/bin/hx";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec {
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
passthru.updateScript = nix-update-script { };

View File

@ -37,7 +37,7 @@ stdenv.mkDerivation (finalAttrs: {
versionCheckProgram = "${placeholder "out"}/bin/hmmalign";
versionCheckProgramArg = [ "-h" ];
versionCheckProgramArg = "-h";
meta = {
description = "Biosequence analysis using profile hidden Markov models";

View File

@ -61,7 +61,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -70,7 +70,7 @@ python.pkgs.buildPythonApplication rec {
"test_vi_mode"
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
meta = {
description = "Interactive command-line HTTP client featuring autocomplete and syntax highlighting";

View File

@ -32,7 +32,7 @@ buildGoModule rec {
doInstallCheck = true;
versionCheckProgramArg = [ "-version" ];
versionCheckProgramArg = "-version";
meta = with lib; {
description = "Fast and multi-purpose HTTP toolkit";

View File

@ -22,7 +22,7 @@ buildNpmPackage rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {
updateScript = nix-update-script { };

View File

@ -70,7 +70,7 @@ buildGoModule rec {
];
doInstallCheck = true;
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
versionCheckProgramArg = [ "version" ];
versionCheckProgramArg = "version";
passthru.updateScript = nix-update-script { };

View File

@ -102,7 +102,7 @@ stdenv.mkDerivation (finalAttrs: {
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = !stdenv.hostPlatform.isDarwin;

View File

@ -48,7 +48,7 @@ rustPlatform.buildRustPackage rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };

View File

@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
versionCheckHook
];
versionCheckProgram = "${placeholder "out"}/bin/igzip";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -65,7 +65,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };

View File

@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
];
doInstallCheck = true;
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
passthru.updateScript = nix-update-script { };

View File

@ -47,7 +47,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

View File

@ -41,7 +41,7 @@ buildPythonPackage rec {
pytestCheckHook
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
pythonImportsCheck = [ "kubernetes_validate" ];

View File

@ -66,7 +66,7 @@ buildGoModule rec {
doInstallCheck = true;
versionCheckProgramArg = [ "version" ];
versionCheckProgramArg = "version";
meta = with lib; {
description = "Tool for testing if Kubernetes is deployed securely";

View File

@ -44,7 +44,7 @@ beamPackages.mixRelease rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
__darwinAllowLocalNetworking = true;

View File

@ -58,7 +58,7 @@ stdenv.mkDerivation (finalAttrs: {
versionCheckHook
];
doInstallCheck = true;
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
versionCheckProgram = "${placeholder "out"}/bin/${finalAttrs.meta.mainProgram}";
meta = {

View File

@ -27,7 +27,7 @@ rustPlatform.buildRustPackage rec {
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
passthru.updateScript = nix-update-script { };

View File

@ -41,7 +41,7 @@ buildGoModule rec {
versionCheckHook
];
versionCheckProgram = "${placeholder "out"}/bin/lipo";
versionCheckProgramArg = [ "-version" ];
versionCheckProgramArg = "-version";
doInstallCheck = true;
passthru = {

View File

@ -38,7 +38,7 @@ rustPlatform.buildRustPackage rec {
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = [ "--version" ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {

Some files were not shown because too many files have changed in this diff Show More