Commit Graph

23 Commits

Author SHA1 Message Date
nixpkgs-ci[bot]
3b65b53073 Merge staging-next into staging 2026-09-17 12:14:18 +00:00
Domen Kožar
e8e8643b0b fetchCargoVendor: narrow the bootstrap Python override
Override charset-normalizer only through requests instead of creating a
separate Python package scope. This preserves the Cargo vendoring bootstrap
cycle break while allowing other Python dependencies to reuse their scope.

Paired evaluation samples reduce prek CPU time by about 20% and a two-hook
git-hooks/prek configuration by about 12%, with unchanged derivation paths
for the tested packages on Linux and aarch64-darwin.

Assisted-by: OpenAI Codex (GPT-6)
2026-09-15 18:50:03 -05:00
Stefan Frijters
0b1d179e29 rustPlatform.fetchCargoVendor: enable strictDeps, enable structuredAttrs 2026-09-04 15:27:04 +02:00
Toma
c86ea6e52b rustPlatform.fetchCargoVendor: remove duplicate fetcher (#525487) 2026-06-02 13:20:14 +00:00
Martin Weinelt
3ca34d25fc fetchCargoVendor: break infinite recursion with ast-serialize
The ast-serialize package depends on fetchCargoVendor and is part of the
bootstrap chain for requests.
2026-05-30 03:53:09 +02:00
André Silva
ddda3ed831 rustPlatform.fetchCargoVendor: remove duplicate fetcher 2026-05-29 10:03:07 +01:00
adisbladis
9e00f0c852 rustPlatform.fetchCargoVendor: Don't recompute internal data
Calling nix-prefetch-git.override on every call to fetchCargoVendor is bad for performance.
2026-04-29 23:01:43 +12:00
André Silva
6b5d6889f5 rustPlatform.fetchCargoVendor: copy fetch-cargo-vendor-util.py for v2 2026-04-24 10:03:05 +01:00
nixpkgs-ci[bot]
dee0edb980 Merge master into staging-next 2026-03-08 06:13:52 +00:00
Sandro Jäckel
45dc03c164 rustPlatform.fetchCargoVendor: use gitMinimal 2026-02-24 15:03:51 +01:00
TomaSajt
72fdf499ff rustPlatform.fetchCargoVendor: allow duplicated dependencies
This is achieved by having subdirs in the vendor dir
2026-02-20 09:16:16 +01:00
K900
f8d669f413 Merge remote-tracking branch 'origin/master' into staging-next 2025-10-04 21:10:21 +03:00
NAHO
c8d4dabc43 pkgs: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd \
      --type file \
      . \
      pkgs \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2025-10-04 19:02:37 +02:00
mksafavi
62b3542ad4 rustPlatform.fetchCargoVendor: add python3Package.pysocks to dependencies 2025-09-01 08:14:50 +03:30
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
K900
b6fb91950c treewide: drop allowGitDependencies hack 2025-04-02 10:34:01 +03:00
K900
ef9eef8d21 Merge remote-tracking branch 'origin/master' into staging-next 2025-02-15 17:19:02 +03:00
TomaSajt
90ca0500a3 rustPlatform.fetchCargoVendor: use proxyImpureEnvVars 2025-02-15 18:30:00 +08:00
K900
8cd566539b rustPlatform.fetchCargoVendor: set strictDeps and dontConfigure by default (#377164) 2025-02-09 09:31:56 +03:00
Alyssa Ross
f07977cfd2 rustPlatform.fetchCargoVendor: add allowGitDependencies
This will make it possible to use fetchCargoVendor for packages that
are in the dependency graph of nix-prefetch-git, by having them opt
out of having nix-prefetch-git involved in fetching their
dependencies.
2025-01-28 12:52:12 +01:00
TomaSajt
e96c70a7ff rustPlatform.fetchCargoVendor: set strictDeps and dontConfigure by default 2025-01-28 12:16:52 +01:00
TomaSajt
16f30cf210 {buildRustPackage,fetchCargoTarball,fetchCargoVendor}: respect cargoRoot 2024-12-02 22:10:23 +01:00
TomaSajt
1911b1e399 rustPlatform.fetchCargoVendor: init 2024-11-11 15:52:54 +01:00