From 553d898940b35a12c33fbc5596c69965e924c559 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:09:41 +0100 Subject: [PATCH 01/40] lpd8editor: replace `git` with `gitMinimal` --- pkgs/applications/audio/lpd8editor/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/lpd8editor/default.nix b/pkgs/applications/audio/lpd8editor/default.nix index 6592f68fa98a..b5071a2c5a41 100644 --- a/pkgs/applications/audio/lpd8editor/default.nix +++ b/pkgs/applications/audio/lpd8editor/default.nix @@ -2,7 +2,7 @@ lib, qt5, stdenv, - git, + gitMinimal, fetchFromGitHub, cmake, alsa-lib, @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake - git + gitMinimal qt5.wrapQtAppsHook ]; From 676389b044ad39df3febba0a9b35b93066af4d03 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:20:33 +0100 Subject: [PATCH 02/40] nano: replace `git` with `gitMinimal` --- pkgs/applications/editors/nano/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/nano/default.nix b/pkgs/applications/editors/nano/default.nix index f88249db0a54..d4dfd8a839b1 100644 --- a/pkgs/applications/editors/nano/default.nix +++ b/pkgs/applications/editors/nano/default.nix @@ -7,7 +7,7 @@ texinfo, writeScript, common-updater-scripts, - git, + gitMinimal, nix, nixfmt-classic, coreutils, @@ -74,7 +74,7 @@ stdenv.mkDerivation rec { PATH=${ lib.makeBinPath [ common-updater-scripts - git + gitMinimal nixfmt-classic nix coreutils From 5a40872640be5414bbe26e737a242caeddc28055 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:21:24 +0100 Subject: [PATCH 03/40] zcash: replace `git` with `gitMinimal` --- pkgs/applications/blockchains/zcash/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/blockchains/zcash/default.nix b/pkgs/applications/blockchains/zcash/default.nix index 14ca8b1a88b0..ecd50d3744cf 100644 --- a/pkgs/applications/blockchains/zcash/default.nix +++ b/pkgs/applications/blockchains/zcash/default.nix @@ -7,7 +7,7 @@ cxx-rs, db62, fetchFromGitHub, - git, + gitMinimal, hexdump, lib, libevent, @@ -48,7 +48,7 @@ rustPlatform.buildRustPackage.override { inherit stdenv; } rec { autoreconfHook cargo cxx-rs - git + gitMinimal hexdump makeWrapper pkg-config From 31d83c33622ac109800cae8b16dc05f58628bada Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:21:43 +0100 Subject: [PATCH 04/40] visidata: replace `git` with `gitMinimal` --- pkgs/applications/misc/visidata/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/visidata/default.nix b/pkgs/applications/misc/visidata/default.nix index d3b8dcc2bdff..7bb38e8b0d1b 100644 --- a/pkgs/applications/misc/visidata/default.nix +++ b/pkgs/applications/misc/visidata/default.nix @@ -40,7 +40,7 @@ zstandard, zulip, # other - git, + gitMinimal, withPcap ? true, dpkt, dnslib, @@ -121,7 +121,7 @@ buildPythonApplication rec { ++ lib.optional withXclip xclip; nativeCheckInputs = [ - git + gitMinimal ]; # check phase uses the output bin, which is not possible when cross-compiling From c89ad2075009e81af1bf6db1644637dd9659e489 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:21:58 +0100 Subject: [PATCH 05/40] biome: replace `git` with `gitMinimal` --- pkgs/by-name/bi/biome/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/bi/biome/package.nix b/pkgs/by-name/bi/biome/package.nix index 993e087d6dec..e96b039d82f8 100644 --- a/pkgs/by-name/bi/biome/package.nix +++ b/pkgs/by-name/bi/biome/package.nix @@ -6,7 +6,7 @@ libgit2, rust-jemalloc-sys, zlib, - git, + gitMinimal, }: rustPlatform.buildRustPackage rec { pname = "biome"; @@ -29,7 +29,7 @@ rustPlatform.buildRustPackage rec { zlib ]; - nativeCheckInputs = [ git ]; + nativeCheckInputs = [ gitMinimal ]; cargoBuildFlags = [ "-p=biome_cli" ]; cargoTestFlags = From 17dabde5c6ff1ea6580abd80b195e625c1d944c3 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:22:16 +0100 Subject: [PATCH 06/40] cargo-llvm-cov: replace `git` with `gitMinimal` --- pkgs/by-name/ca/cargo-llvm-cov/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ca/cargo-llvm-cov/package.nix b/pkgs/by-name/ca/cargo-llvm-cov/package.nix index b70ed7d24c38..68721800f1fd 100644 --- a/pkgs/by-name/ca/cargo-llvm-cov/package.nix +++ b/pkgs/by-name/ca/cargo-llvm-cov/package.nix @@ -20,7 +20,7 @@ fetchFromGitHub, rustPlatform, llvmPackages_19, - git, + gitMinimal, }: let @@ -70,7 +70,7 @@ rustPlatform.buildRustPackage { LLVM_PROFDATA = "${llvm}/bin/llvm-profdata"; nativeCheckInputs = [ - git + gitMinimal ]; # `cargo-llvm-cov` tests rely on `git ls-files. From 87516c65d331a8802abbb641debb4dae369846c5 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:22:38 +0100 Subject: [PATCH 07/40] databricks-cli: replace `git` with `gitMinimal` --- pkgs/by-name/da/databricks-cli/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/da/databricks-cli/package.nix b/pkgs/by-name/da/databricks-cli/package.nix index fa6ca494349e..b4d80becdd75 100644 --- a/pkgs/by-name/da/databricks-cli/package.nix +++ b/pkgs/by-name/da/databricks-cli/package.nix @@ -2,7 +2,7 @@ lib, buildGoModule, fetchFromGitHub, - git, + gitMinimal, python3, }: @@ -37,7 +37,7 @@ buildGoModule rec { ]); nativeCheckInputs = [ - git + gitMinimal (python3.withPackages ( ps: with ps; [ setuptools From b28a138a7733863dcd1249920a01c31662407d0d Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:22:53 +0100 Subject: [PATCH 08/40] github-runner: replace `git` with `gitMinimal` --- pkgs/by-name/gi/github-runner/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gi/github-runner/package.nix b/pkgs/by-name/gi/github-runner/package.nix index 7200995f2d31..ef4499e499cf 100644 --- a/pkgs/by-name/gi/github-runner/package.nix +++ b/pkgs/by-name/gi/github-runner/package.nix @@ -6,7 +6,7 @@ dotnetCorePackages, fetchFromGitHub, fetchpatch, - git, + gitMinimal, glibc, glibcLocales, lib, @@ -112,7 +112,7 @@ buildDotnetModule (finalAttrs: { nativeBuildInputs = [ which - git + gitMinimal # needed for `uname` coreutils ] From 3c05d6b61bf6d21708590c0be2dc538c27bbfa72 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:23:06 +0100 Subject: [PATCH 09/40] gitstatus: replace `git` with `gitMinimal` --- pkgs/by-name/gi/gitstatus/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gi/gitstatus/package.nix b/pkgs/by-name/gi/gitstatus/package.nix index d0eab16e0dec..6be2cb9f6f0f 100644 --- a/pkgs/by-name/gi/gitstatus/package.nix +++ b/pkgs/by-name/gi/gitstatus/package.nix @@ -3,7 +3,7 @@ lib, stdenv, fetchFromGitHub, - git, + gitMinimal, zsh, zlib, runtimeShell, @@ -77,7 +77,7 @@ stdenv.mkDerivation rec { # command ran successfully. This tests the binary itself and the zsh # integration. nativeInstallCheckInputs = [ - git + gitMinimal zsh ]; doInstallCheck = true; From fcf74752116b703d96fcb487597b0a9d70bade5c Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:23:19 +0100 Subject: [PATCH 10/40] glitter: replace `git` with `gitMinimal` --- pkgs/by-name/gl/glitter/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gl/glitter/package.nix b/pkgs/by-name/gl/glitter/package.nix index 14e783a00be9..70d7fee9cb71 100644 --- a/pkgs/by-name/gl/glitter/package.nix +++ b/pkgs/by-name/gl/glitter/package.nix @@ -2,7 +2,7 @@ lib, rustPlatform, fetchFromGitHub, - git, + gitMinimal, }: rustPlatform.buildRustPackage rec { @@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-7JQcY3HCG3UQ0Mfz/+ZZ0axGEpQoH410FT72tjHW7EE="; nativeCheckInputs = [ - git + gitMinimal ]; # tests require it to be in a git repository From ee9df0c5ae4a9671c960bb35c27949b823009896 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:24:32 +0100 Subject: [PATCH 11/40] ko: replace `git` with `gitMinimal` --- pkgs/by-name/ko/ko/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ko/ko/package.nix b/pkgs/by-name/ko/ko/package.nix index a59046b9dd20..c16bb3de59b5 100644 --- a/pkgs/by-name/ko/ko/package.nix +++ b/pkgs/by-name/ko/ko/package.nix @@ -2,7 +2,7 @@ lib, buildGoModule, fetchFromGitHub, - git, + gitMinimal, installShellFiles, }: @@ -35,7 +35,7 @@ buildGoModule rec { "-skip=TestNewPublisherCanPublish" ]; - nativeCheckInputs = [ git ]; + nativeCheckInputs = [ gitMinimal ]; preCheck = '' # Feed in all the tests for testing # This is because subPackages above limits what is built to just what we From f5840d2bb7919233f3af98f8bfaa47bedb705df2 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:24:43 +0100 Subject: [PATCH 12/40] log4j-sniffer: replace `git` with `gitMinimal` --- pkgs/by-name/lo/log4j-sniffer/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/lo/log4j-sniffer/package.nix b/pkgs/by-name/lo/log4j-sniffer/package.nix index 54f888ef89f5..4e5102574abb 100644 --- a/pkgs/by-name/lo/log4j-sniffer/package.nix +++ b/pkgs/by-name/lo/log4j-sniffer/package.nix @@ -2,7 +2,7 @@ lib, buildGoModule, fetchFromGitHub, - git, + gitMinimal, }: buildGoModule rec { @@ -19,7 +19,7 @@ buildGoModule rec { vendorHash = null; nativeCheckInputs = [ - git + gitMinimal ]; preCheck = '' From 7d190c1e944ea4f73334ca7a8bf9cbd32c0a4832 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:24:57 +0100 Subject: [PATCH 13/40] onefetch: replace `git` with `gitMinimal` --- pkgs/by-name/on/onefetch/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/on/onefetch/package.nix b/pkgs/by-name/on/onefetch/package.nix index c9ef055a1dd9..114bcb499242 100644 --- a/pkgs/by-name/on/onefetch/package.nix +++ b/pkgs/by-name/on/onefetch/package.nix @@ -8,7 +8,7 @@ zstd, stdenv, darwin, - git, + gitMinimal, }: let @@ -45,7 +45,7 @@ rustPlatform.buildRustPackage rec { ]; nativeCheckInputs = [ - git + gitMinimal ]; preCheck = '' From fcff431ba53a2aec882993bfc95a96fd926b6fec Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:25:07 +0100 Subject: [PATCH 14/40] pre-commit: replace `git` with `gitMinimal` --- pkgs/by-name/pr/pre-commit/package.nix | 5 ++--- pkgs/by-name/pr/pre-commit/tests.nix | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/pr/pre-commit/package.nix b/pkgs/by-name/pr/pre-commit/package.nix index d071d53f7218..334ab8816faf 100644 --- a/pkgs/by-name/pr/pre-commit/package.nix +++ b/pkgs/by-name/pr/pre-commit/package.nix @@ -6,13 +6,12 @@ cargo, coursier, dotnet-sdk, - git, + gitMinimal, glibcLocales, go, nodejs, perl, cabal-install, - testers, pre-commit, }: @@ -50,7 +49,7 @@ buildPythonApplication rec { cargo coursier dotnet-sdk - git + gitMinimal glibcLocales go libiconv # For rust tests on Darwin diff --git a/pkgs/by-name/pr/pre-commit/tests.nix b/pkgs/by-name/pr/pre-commit/tests.nix index a1b40bc2d8cc..2c9de8cbfc6f 100644 --- a/pkgs/by-name/pr/pre-commit/tests.nix +++ b/pkgs/by-name/pr/pre-commit/tests.nix @@ -1,5 +1,5 @@ { - git, + gitMinimal, pre-commit, runCommand, testers, @@ -9,7 +9,7 @@ runCommand "check-meta-hooks" { nativeBuildInputs = [ - git + gitMinimal pre-commit ]; } From d3826bcd89eb68be63e288b6dfae192353b4cab4 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:25:25 +0100 Subject: [PATCH 15/40] stellar-core: replace `git` with `gitMinimal` --- pkgs/by-name/st/stellar-core/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/st/stellar-core/package.nix b/pkgs/by-name/st/stellar-core/package.nix index 930efaa35dc6..a92100844a10 100644 --- a/pkgs/by-name/st/stellar-core/package.nix +++ b/pkgs/by-name/st/stellar-core/package.nix @@ -5,7 +5,7 @@ fetchFromGitHub, fetchpatch, flex, - git, + gitMinimal, lib, libtool, libunwind, @@ -47,7 +47,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ automake autoconf - git + gitMinimal libtool pkg-config ripgrep From b24319726a948e4707015eae2bfe8d096cd8b5ee Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:25:37 +0100 Subject: [PATCH 16/40] taler-wallet-core: replace `git` with `gitMinimal` --- pkgs/by-name/ta/taler-wallet-core/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ta/taler-wallet-core/package.nix b/pkgs/by-name/ta/taler-wallet-core/package.nix index 0d2330553fb2..9a2fd68d2894 100644 --- a/pkgs/by-name/ta/taler-wallet-core/package.nix +++ b/pkgs/by-name/ta/taler-wallet-core/package.nix @@ -10,7 +10,7 @@ nodejs, pnpm, python3, - git, + gitMinimal, jq, zip, }: @@ -49,7 +49,7 @@ stdenv.mkDerivation (finalAttrs: { customPython nodejs pnpm.configHook - git + gitMinimal jq zip ]; From 4930316677b7f341c745e411fec7b7c2d1e2534c Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:25:59 +0100 Subject: [PATCH 17/40] flutter: replace `git` with `gitMinimal` --- pkgs/development/compilers/flutter/engine/package.nix | 4 ++-- pkgs/development/compilers/flutter/flutter.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/compilers/flutter/engine/package.nix b/pkgs/development/compilers/flutter/engine/package.nix index 4693062cacb8..4c10c665b023 100644 --- a/pkgs/development/compilers/flutter/engine/package.nix +++ b/pkgs/development/compilers/flutter/engine/package.nix @@ -38,7 +38,7 @@ ninja, python312, python39, - git, + gitMinimal, version, flutterVersion, dartSdkVersion, @@ -176,7 +176,7 @@ stdenv.mkDerivation (finalAttrs: { [ python3 (tools.vpython python3) - git + gitMinimal pkg-config ninja dart diff --git a/pkgs/development/compilers/flutter/flutter.nix b/pkgs/development/compilers/flutter/flutter.nix index dcd8073b4f39..8d0ba5b8fb8f 100644 --- a/pkgs/development/compilers/flutter/flutter.nix +++ b/pkgs/development/compilers/flutter/flutter.nix @@ -22,7 +22,7 @@ callPackage, makeWrapper, darwin, - git, + gitMinimal, which, jq, flutterTools ? null, @@ -64,7 +64,7 @@ let nativeBuildInputs = [ makeWrapper jq - git + gitMinimal ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.DarwinTools ]; strictDeps = true; From dc3d1433babf0f67aa9d3c9d5222fcf1c42f0bcf Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:26:15 +0100 Subject: [PATCH 18/40] julia-modules: replace `git` with `gitMinimal` --- pkgs/development/julia-modules/util.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/julia-modules/util.nix b/pkgs/development/julia-modules/util.nix index d70bdc48bffa..b1c63b2b234e 100644 --- a/pkgs/development/julia-modules/util.nix +++ b/pkgs/development/julia-modules/util.nix @@ -1,5 +1,5 @@ { - git, + gitMinimal, runCommand, }: @@ -20,7 +20,7 @@ # Convert an ordinary source checkout into a repo with a single commit repoifySimple = name: path: - runCommand ''${name}-repoified'' { buildInputs = [ git ]; } '' + runCommand ''${name}-repoified'' { buildInputs = [ gitMinimal ]; } '' mkdir -p $out cp -r ${path}/. $out cd $out @@ -36,7 +36,7 @@ # Convert an dependency source info into a repo with a single commit repoifyInfo = uuid: info: - runCommand ''julia-${info.name}-${info.version}'' { buildInputs = [ git ]; } '' + runCommand ''julia-${info.name}-${info.version}'' { buildInputs = [ gitMinimal ]; } '' mkdir -p $out cp -r ${info.src}/. $out cd $out From a78aaceefcb7ab1297058699813e3611f3e006f4 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:26:38 +0100 Subject: [PATCH 19/40] python312Packages.commitizen: replace `git` with `gitMinimal` --- pkgs/development/python-modules/commitizen/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/commitizen/default.nix b/pkgs/development/python-modules/commitizen/default.nix index 867b03e2c1b4..e382df9ed7c7 100644 --- a/pkgs/development/python-modules/commitizen/default.nix +++ b/pkgs/development/python-modules/commitizen/default.nix @@ -3,7 +3,7 @@ commitizen, fetchFromGitHub, buildPythonPackage, - git, + gitMinimal, pythonOlder, stdenv, installShellFiles, @@ -69,7 +69,7 @@ buildPythonPackage rec { nativeCheckInputs = [ argcomplete deprecated - git + gitMinimal py pytest-freezer pytest-mock From 6c62a00e47ebf1caec4bc6a2b1a2615e94a4676d Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:27:00 +0100 Subject: [PATCH 20/40] python312Packages.font-v: replace `git` with `gitMinimal` --- pkgs/development/python-modules/font-v/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/font-v/default.nix b/pkgs/development/python-modules/font-v/default.nix index 945f77698ef7..fd2970d07a34 100644 --- a/pkgs/development/python-modules/font-v/default.nix +++ b/pkgs/development/python-modules/font-v/default.nix @@ -3,7 +3,7 @@ buildPythonPackage, fetchFromGitHub, fonttools, - git, + gitMinimal, gitpython, pytestCheckHook, }: @@ -27,7 +27,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - git + gitMinimal pytestCheckHook ]; preCheck = '' From f309a89c5aafa7864cd71f1dcf4a48cb994b47c3 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:27:35 +0100 Subject: [PATCH 21/40] python312Packages.fontbakery: replace `git` with `gitMinimal` --- pkgs/development/python-modules/fontbakery/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fontbakery/default.nix b/pkgs/development/python-modules/fontbakery/default.nix index 5d7a30fdfa50..2765f62764ca 100644 --- a/pkgs/development/python-modules/fontbakery/default.nix +++ b/pkgs/development/python-modules/fontbakery/default.nix @@ -16,7 +16,7 @@ freetype-py, gflanguages, gfsubsets, - git, + gitMinimal, glyphsets, installShellFiles, jinja2, @@ -110,7 +110,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - git + gitMinimal pytestCheckHook pytest-xdist requests-mock From 88129f58679972030cf4f6dcdeb0e9825fbc7611 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:27:52 +0100 Subject: [PATCH 22/40] python312Packages.playwright: replace `git` with `gitMinimal` --- pkgs/development/python-modules/playwright/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/playwright/default.nix b/pkgs/development/python-modules/playwright/default.nix index d230e237cec6..c844d2ea4887 100644 --- a/pkgs/development/python-modules/playwright/default.nix +++ b/pkgs/development/python-modules/playwright/default.nix @@ -3,7 +3,7 @@ stdenv, auditwheel, buildPythonPackage, - git, + gitMinimal, greenlet, fetchFromGitHub, pyee, @@ -71,7 +71,7 @@ buildPythonPackage rec { ''; nativeBuildInputs = [ - git + gitMinimal setuptools-scm setuptools ] ++ lib.optionals stdenv.hostPlatform.isLinux [ auditwheel ]; From 7d5bee9d1d013b54dd31ab06d27c5da9a3f05592 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:28:09 +0100 Subject: [PATCH 23/40] python312Packages.pre-commit-hooks: replace `git` with `gitMinimal` --- pkgs/development/python-modules/pre-commit-hooks/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pre-commit-hooks/default.nix b/pkgs/development/python-modules/pre-commit-hooks/default.nix index a4aae5331b56..9124989c5d15 100644 --- a/pkgs/development/python-modules/pre-commit-hooks/default.nix +++ b/pkgs/development/python-modules/pre-commit-hooks/default.nix @@ -3,7 +3,7 @@ stdenv, buildPythonPackage, fetchFromGitHub, - git, + gitMinimal, pytestCheckHook, pythonOlder, ruamel-yaml, @@ -27,7 +27,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ ruamel-yaml ] ++ lib.optionals (pythonOlder "3.11") [ tomli ]; nativeCheckInputs = [ - git + gitMinimal pytestCheckHook ]; From 2974863439d344118c2b2d8e592eb015ebee09b6 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 17:28:28 +0100 Subject: [PATCH 24/40] build-support/make-hardcode-gsettings-patch: replace `git` with `gitMinimal` --- pkgs/build-support/make-hardcode-gsettings-patch/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/build-support/make-hardcode-gsettings-patch/default.nix b/pkgs/build-support/make-hardcode-gsettings-patch/default.nix index f3f781968788..e63e5976f3eb 100644 --- a/pkgs/build-support/make-hardcode-gsettings-patch/default.nix +++ b/pkgs/build-support/make-hardcode-gsettings-patch/default.nix @@ -1,6 +1,6 @@ { runCommand, - git, + gitMinimal, coccinelle, python3, }: @@ -60,7 +60,7 @@ runCommand "hardcode-gsettings.patch" { inherit src patches; nativeBuildInputs = [ - git + gitMinimal coccinelle python3 # For patch script ]; From a9115b3a83c938d794c5fda17e4ea05c9386fb57 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 21:36:35 +0100 Subject: [PATCH 25/40] nbstripout: replace `git` with `gitMinimal` --- pkgs/applications/version-management/nbstripout/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/version-management/nbstripout/default.nix b/pkgs/applications/version-management/nbstripout/default.nix index 9c0465c46a03..6ce5b2919bb4 100644 --- a/pkgs/applications/version-management/nbstripout/default.nix +++ b/pkgs/applications/version-management/nbstripout/default.nix @@ -3,7 +3,7 @@ python3, fetchPypi, coreutils, - git, + gitMinimal, mercurial, }: @@ -29,7 +29,7 @@ python3.pkgs.buildPythonApplication rec { nativeCheckInputs = [ coreutils - git + gitMinimal mercurial ] ++ (with python3.pkgs; [ From f7e55fbcd058384a5ce15db2e6ac29f78c624431 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 21:46:40 +0100 Subject: [PATCH 26/40] cargo-generate: replace `git` with `gitMinimal` --- pkgs/by-name/ca/cargo-generate/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ca/cargo-generate/package.nix b/pkgs/by-name/ca/cargo-generate/package.nix index a3f0fd572946..ca5ed22f9580 100644 --- a/pkgs/by-name/ca/cargo-generate/package.nix +++ b/pkgs/by-name/ca/cargo-generate/package.nix @@ -7,7 +7,7 @@ openssl, stdenv, darwin, - git, + gitMinimal, }: rustPlatform.buildRustPackage rec { @@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec { darwin.apple_sdk.frameworks.Security ]; - nativeCheckInputs = [ git ]; + nativeCheckInputs = [ gitMinimal ]; # disable vendored libgit2 and openssl buildNoDefaultFeatures = true; From 31d810e933e3b10ef82a5928e6d9269cd87fc76e Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 21:47:55 +0100 Subject: [PATCH 27/40] git-aggregator: replace `git` with `gitMinimal` --- pkgs/by-name/gi/git-aggregator/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/gi/git-aggregator/package.nix b/pkgs/by-name/gi/git-aggregator/package.nix index c74d926bde18..bb0fcabe04da 100644 --- a/pkgs/by-name/gi/git-aggregator/package.nix +++ b/pkgs/by-name/gi/git-aggregator/package.nix @@ -2,7 +2,7 @@ lib, python3Packages, fetchFromGitHub, - git, + gitMinimal, }: python3Packages.buildPythonApplication rec { @@ -23,13 +23,13 @@ python3Packages.buildPythonApplication rec { propagatedBuildInputs = with python3Packages; [ argcomplete colorama - git + gitMinimal kaptan requests ]; nativeCheckInputs = [ - git + gitMinimal ]; preCheck = '' From 7bb1650eed96d116672a7e937f3af089eba94c6b Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 21:48:34 +0100 Subject: [PATCH 28/40] git-bug-migration: replace `git` with `gitMinimal` --- pkgs/by-name/gi/git-bug-migration/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gi/git-bug-migration/package.nix b/pkgs/by-name/gi/git-bug-migration/package.nix index df18c4fe8536..9bc2f1b30f41 100644 --- a/pkgs/by-name/gi/git-bug-migration/package.nix +++ b/pkgs/by-name/gi/git-bug-migration/package.nix @@ -2,7 +2,7 @@ lib, buildGoModule, fetchFromGitHub, - git, + gitMinimal, }: buildGoModule rec { pname = "git-bug-migration"; @@ -17,7 +17,7 @@ buildGoModule rec { vendorHash = "sha256-Hid9OK91LNjLmDHam0ZlrVQopVOsqbZ+BH2rfQi5lS0="; - nativeCheckInputs = [ git ]; + nativeCheckInputs = [ gitMinimal ]; ldflags = [ "-X main.GitExactTag=${version}" From 4a9c8f10573db1d2a15ce1f26bc045fd1702a59c Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 21:48:57 +0100 Subject: [PATCH 29/40] git-dive: replace `git` with `gitMinimal` --- pkgs/by-name/gi/git-dive/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gi/git-dive/package.nix b/pkgs/by-name/gi/git-dive/package.nix index 1f0c479abb4c..b730a025af0c 100644 --- a/pkgs/by-name/gi/git-dive/package.nix +++ b/pkgs/by-name/gi/git-dive/package.nix @@ -8,7 +8,7 @@ zlib, stdenv, darwin, - git, + gitMinimal, }: rustPlatform.buildRustPackage rec { @@ -39,7 +39,7 @@ rustPlatform.buildRustPackage rec { ]; nativeCheckInputs = [ - git + gitMinimal ]; # don't use vendored libgit2 From cd48b3042c8b6dc8e8ad28ea423c066e9661d347 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 21:49:18 +0100 Subject: [PATCH 30/40] git-fast-export: replace `git` with `gitMinimal` --- pkgs/by-name/gi/git-fast-export/package.nix | 28 ++++++++++++++------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/gi/git-fast-export/package.nix b/pkgs/by-name/gi/git-fast-export/package.nix index f94bf3a3e580..c12e760bf495 100644 --- a/pkgs/by-name/gi/git-fast-export/package.nix +++ b/pkgs/by-name/gi/git-fast-export/package.nix @@ -2,7 +2,7 @@ lib, stdenv, fetchFromGitHub, - git, + gitMinimal, mercurial, makeWrapper, nix-update-script, @@ -27,7 +27,10 @@ stdenv.mkDerivation (finalAttrs: { }) ]; - nativeBuildInputs = [ makeWrapper ]; + nativeBuildInputs = [ + gitMinimal + makeWrapper + ]; buildInputs = [ mercurial.python mercurial @@ -48,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: { for script in $out/bin/*.sh; do wrapProgram $script \ - --prefix PATH : "${git}/bin":"${mercurial.python}/bin":$libexec \ + --prefix PATH : "${gitMinimal}/bin":"${mercurial.python}/bin":$libexec \ --prefix PYTHONPATH : "${mercurial}/${mercurial.python.sitePackages}":$sitepackagesPath done ''; @@ -56,22 +59,28 @@ stdenv.mkDerivation (finalAttrs: { doInstallCheck = true; # deliberately not adding git or hg into nativeInstallCheckInputs - package should # be able to work without them in runtime env + + nativeCheckInputs = [ + gitMinimal + mercurial + ]; + installCheckPhase = '' mkdir repo-hg pushd repo-hg - ${mercurial}/bin/hg init + hg init echo foo > bar - ${mercurial}/bin/hg add bar - ${mercurial}/bin/hg commit --message "baz" + hg add bar + hg commit --message "baz" popd mkdir repo-git pushd repo-git - ${git}/bin/git init - ${git}/bin/git config core.ignoreCase false # for darwin + git init + git config core.ignoreCase false # for darwin $out/bin/hg-fast-export.sh -r ../repo-hg/ --hg-hash for s in "foo" "bar" "baz" ; do - (${git}/bin/git show | grep $s > /dev/null) && echo $s found + (git show | grep $s > /dev/null) && echo $s found done popd ''; @@ -84,5 +93,6 @@ stdenv.mkDerivation (finalAttrs: { license = lib.licenses.gpl2; maintainers = [ lib.maintainers.koral ]; platforms = lib.platforms.unix; + mainProgram = "hg-fast-export.sh"; }; }) From 375f99903358a306b9ff61f65facad3817b5bba2 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 21:49:45 +0100 Subject: [PATCH 31/40] gst: replace `git` with `gitMinimal` --- pkgs/by-name/gs/gst/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gs/gst/package.nix b/pkgs/by-name/gs/gst/package.nix index ac906d3003f9..e0411e873b4c 100644 --- a/pkgs/by-name/gs/gst/package.nix +++ b/pkgs/by-name/gs/gst/package.nix @@ -2,7 +2,7 @@ lib, buildGoModule, fetchFromGitHub, - git, + gitMinimal, ghq, }: @@ -22,7 +22,7 @@ buildGoModule rec { doCheck = false; nativeBuildInputs = [ - git + gitMinimal ghq ]; From ad0ad610967810c0ce7650e1006020389c7f1130 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 21:50:08 +0100 Subject: [PATCH 32/40] zoekt: replace `git` with `gitMinimal` --- pkgs/by-name/zo/zoekt/package.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/zo/zoekt/package.nix b/pkgs/by-name/zo/zoekt/package.nix index eb5430d3742d..29f9df11b28f 100644 --- a/pkgs/by-name/zo/zoekt/package.nix +++ b/pkgs/by-name/zo/zoekt/package.nix @@ -1,8 +1,9 @@ -{ lib -, buildGoModule -, fetchFromGitHub -, git -, nix-update-script +{ + lib, + buildGoModule, + fetchFromGitHub, + gitMinimal, + nix-update-script, }: buildGoModule { @@ -19,7 +20,7 @@ buildGoModule { vendorHash = "sha256-Dvs8XMOxZEE9moA8aCxuxg947+x/6C8cKtgdcByL4Eo="; nativeCheckInputs = [ - git + gitMinimal ]; preCheck = '' @@ -28,7 +29,10 @@ buildGoModule { ''; passthru.updateScript = nix-update-script { - extraArgs = [ "--version" "branch" ]; + extraArgs = [ + "--version" + "branch" + ]; }; meta = { From 2705763c5f61a2d4a2e07952e4523086c7cc82f7 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 21:50:35 +0100 Subject: [PATCH 33/40] python312Packages.dunamai: replace `git` with `gitMinimal` --- pkgs/development/python-modules/dunamai/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dunamai/default.nix b/pkgs/development/python-modules/dunamai/default.nix index 24e765cfb35b..02ef9994acbb 100644 --- a/pkgs/development/python-modules/dunamai/default.nix +++ b/pkgs/development/python-modules/dunamai/default.nix @@ -7,7 +7,7 @@ importlib-metadata, packaging, pytestCheckHook, - git, + gitMinimal, }: buildPythonPackage rec { @@ -38,7 +38,7 @@ buildPythonPackage rec { ''; nativeCheckInputs = [ - git + gitMinimal pytestCheckHook ]; From 15b915cc8b851a543fc19dee26b38a7ab771485f Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 21:51:00 +0100 Subject: [PATCH 34/40] python312Packages.gto: replace `git` with `gitMinimal` --- pkgs/development/python-modules/gto/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/gto/default.nix b/pkgs/development/python-modules/gto/default.nix index 6664570ef150..8ee83e7b84dd 100644 --- a/pkgs/development/python-modules/gto/default.nix +++ b/pkgs/development/python-modules/gto/default.nix @@ -6,7 +6,7 @@ fetchFromGitHub, freezegun, funcy, - git, + gitMinimal, pydantic, pytest-cov-stub, pytest-mock, @@ -56,7 +56,7 @@ buildPythonPackage rec { nativeCheckInputs = [ freezegun - git + gitMinimal pytest-cov-stub pytest-mock pytest-test-utils From 170c8ab0eb218636495de6f80d139852708d2c61 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 21:51:31 +0100 Subject: [PATCH 35/40] python312Packages.nbdime: replace `git` with `gitMinimal` --- pkgs/development/python-modules/nbdime/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nbdime/default.nix b/pkgs/development/python-modules/nbdime/default.nix index 7a873014640e..9ccb1a257b88 100644 --- a/pkgs/development/python-modules/nbdime/default.nix +++ b/pkgs/development/python-modules/nbdime/default.nix @@ -15,7 +15,7 @@ jupyter-server, jupyter-server-mathjax, jinja2, - git, + gitMinimal, pytest-tornado, pytestCheckHook, }: @@ -51,7 +51,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - git + gitMinimal pytest-tornado pytestCheckHook ]; From 6a187ef35a4027c33c1eb87400e2e80835553c83 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 21:52:19 +0100 Subject: [PATCH 36/40] python312Packages.pdm-backend: replace `git` with `gitMinimal` --- pkgs/development/python-modules/pdm-backend/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pdm-backend/default.nix b/pkgs/development/python-modules/pdm-backend/default.nix index 578d1fb96449..d6b18382a726 100644 --- a/pkgs/development/python-modules/pdm-backend/default.nix +++ b/pkgs/development/python-modules/pdm-backend/default.nix @@ -9,7 +9,7 @@ # tests editables, - git, + gitMinimal, mercurial, pytestCheckHook, setuptools, @@ -35,7 +35,7 @@ buildPythonPackage rec { nativeCheckInputs = [ editables - git + gitMinimal mercurial pytestCheckHook setuptools From 67a5a288c9271234527ba400e3a87d705ba439d7 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 21:52:44 +0100 Subject: [PATCH 37/40] python312Packages.pdm-pep517: replace `git` with `gitMinimal` --- pkgs/development/python-modules/pdm-pep517/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pdm-pep517/default.nix b/pkgs/development/python-modules/pdm-pep517/default.nix index f914b5b86ed9..29829575fcbd 100644 --- a/pkgs/development/python-modules/pdm-pep517/default.nix +++ b/pkgs/development/python-modules/pdm-pep517/default.nix @@ -2,7 +2,7 @@ lib, buildPythonPackage, fetchPypi, - git, + gitMinimal, pytestCheckHook, setuptools, }: @@ -26,7 +26,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook - git + gitMinimal setuptools ]; From 2a4bb2ea5933144c609326335cf1420a6cf2e246 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 21:53:19 +0100 Subject: [PATCH 38/40] python312Packages.pypass: replace `git` with `gitMinimal` --- .../development/python-modules/pypass/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pypass/default.nix b/pkgs/development/python-modules/pypass/default.nix index 1b9dc08d6720..d1581e898547 100644 --- a/pkgs/development/python-modules/pypass/default.nix +++ b/pkgs/development/python-modules/pypass/default.nix @@ -5,7 +5,7 @@ click, colorama, fetchPypi, - git, + gitMinimal, gnugrep, gnupg, pbr, @@ -34,7 +34,7 @@ buildPythonPackage rec { patches = [ (substituteAll { src = ./mark-executables.patch; - git_exec = "${git}/bin/git"; + git_exec = "${gitMinimal}/bin/git"; grep_exec = "${gnugrep}/bin/grep"; gpg_exec = "${gnupg}/bin/gpg2"; tree_exec = "${tree}/bin/tree"; @@ -57,15 +57,18 @@ buildPythonPackage rec { pexpect ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + gitMinimal + pytestCheckHook + ]; # Configuration so that the tests work preCheck = '' export HOME=$(mktemp -d) export GNUPGHOME=pypass/tests/gnupg - ${git}/bin/git config --global user.email "nix-builder@nixos.org" - ${git}/bin/git config --global user.name "Nix Builder" - ${git}/bin/git config --global pull.ff only + git config --global user.email "nix-builder@nixos.org" + git config --global user.name "Nix Builder" + git config --global pull.ff only make setup_gpg ''; From 1a91e2f24b014f14e81fb56032a3b88521120902 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 21:53:50 +0100 Subject: [PATCH 39/40] dune-release: replace `git` with `gitMinimal` --- pkgs/development/tools/ocaml/dune-release/default.nix | 9 ++++++--- pkgs/top-level/ocaml-packages.nix | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/ocaml/dune-release/default.nix b/pkgs/development/tools/ocaml/dune-release/default.nix index bd061e4bddf6..d402387a7778 100644 --- a/pkgs/development/tools/ocaml/dune-release/default.nix +++ b/pkgs/development/tools/ocaml/dune-release/default.nix @@ -19,7 +19,7 @@ yojson, astring, opam, - git, + gitMinimal, findlib, mercurial, bzip2, @@ -34,7 +34,7 @@ let runtimeInputs = [ opam findlib - git + gitMinimal mercurial bzip2 gnutar @@ -78,7 +78,10 @@ buildDunePackage rec { astring fpath ]; - nativeCheckInputs = [ odoc ]; + nativeCheckInputs = [ + odoc + gitMinimal + ]; checkInputs = [ alcotest ] ++ runtimeInputs; doCheck = true; diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 093a0638c8c7..9f389c1be5dd 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -418,7 +418,7 @@ let dune-private-libs = callPackage ../development/ocaml-modules/dune-private-libs { }; dune-release = callPackage ../development/tools/ocaml/dune-release { - inherit (pkgs) opam git mercurial coreutils gnutar bzip2; + inherit (pkgs) opam gitMinimal mercurial coreutils gnutar bzip2; }; dune-rpc = callPackage ../development/ocaml-modules/dune-rpc { }; From 756d00ccfb963491c4eafd60882bc1b1af39860c Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sat, 4 Jan 2025 21:54:30 +0100 Subject: [PATCH 40/40] cargo-crev: replace `git` with `gitMinimal` --- .../tools/rust/cargo-crev/default.nix | 54 +++++++++++++------ 1 file changed, 37 insertions(+), 17 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-crev/default.nix b/pkgs/development/tools/rust/cargo-crev/default.nix index 31bc6f219ab4..b9ee51deb2ee 100644 --- a/pkgs/development/tools/rust/cargo-crev/default.nix +++ b/pkgs/development/tools/rust/cargo-crev/default.nix @@ -1,15 +1,17 @@ -{ lib, stdenv -, fetchFromGitHub -, rustPlatform -, perl -, pkg-config -, SystemConfiguration -, Security -, CoreFoundation -, curl -, libiconv -, openssl -, git +{ + lib, + stdenv, + fetchFromGitHub, + rustPlatform, + perl, + pkg-config, + SystemConfiguration, + Security, + CoreFoundation, + curl, + libiconv, + openssl, + gitMinimal, }: rustPlatform.buildRustPackage rec { @@ -31,17 +33,35 @@ rustPlatform.buildRustPackage rec { git config --global user.email "nobody@example.com" ''; - nativeBuildInputs = [ perl pkg-config ]; + nativeBuildInputs = [ + perl + pkg-config + ]; - buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ SystemConfiguration Security CoreFoundation libiconv curl ]; + buildInputs = + [ openssl ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + SystemConfiguration + Security + CoreFoundation + libiconv + curl + ]; - nativeCheckInputs = [ git ]; + nativeCheckInputs = [ gitMinimal ]; meta = with lib; { description = "Cryptographically verifiable code review system for the cargo (Rust) package manager"; mainProgram = "cargo-crev"; homepage = "https://github.com/crev-dev/cargo-crev"; - license = with licenses; [ asl20 mit mpl20 ]; - maintainers = with maintainers; [ b4dm4n matthiasbeyer ]; + license = with licenses; [ + asl20 + mit + mpl20 + ]; + maintainers = with maintainers; [ + b4dm4n + matthiasbeyer + ]; }; }