summary refs log tree commit diff
path: root/maintainers/scripts
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2022-03-11 14:32:36 +0100
committerProfpatsch <mail@profpatsch.de>2022-03-11 14:32:36 +0100
commita23d59e2ed6ec675090f90405219fa4a26ba9ab6 (patch)
treeeb9b2679d72339a4c2bc555577ea94a468b385be /maintainers/scripts
parent7de3b6b55e2d7c90bb8b3c172ef9096dc8cc707b (diff)
downloadnixpkgs-a23d59e2ed6ec675090f90405219fa4a26ba9ab6.tar
nixpkgs-a23d59e2ed6ec675090f90405219fa4a26ba9ab6.tar.gz
nixpkgs-a23d59e2ed6ec675090f90405219fa4a26ba9ab6.tar.bz2
nixpkgs-a23d59e2ed6ec675090f90405219fa4a26ba9ab6.tar.lz
nixpkgs-a23d59e2ed6ec675090f90405219fa4a26ba9ab6.tar.xz
nixpkgs-a23d59e2ed6ec675090f90405219fa4a26ba9ab6.tar.zst
nixpkgs-a23d59e2ed6ec675090f90405219fa4a26ba9ab6.zip
regenerate-hackage-packages.sh: use runCommandLocal
Running tar will not benefit from running on a builder (it’s mostly
I/O load and cannot be parallelized), and the network will dominate.
Diffstat (limited to 'maintainers/scripts')
-rwxr-xr-xmaintainers/scripts/haskell/regenerate-hackage-packages.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintainers/scripts/haskell/regenerate-hackage-packages.sh b/maintainers/scripts/haskell/regenerate-hackage-packages.sh
index 285f6ed7cf9..9d51eb4ca4a 100755
--- a/maintainers/scripts/haskell/regenerate-hackage-packages.sh
+++ b/maintainers/scripts/haskell/regenerate-hackage-packages.sh
@@ -20,7 +20,7 @@ HACKAGE2NIX="${HACKAGE2NIX:-hackage2nix}"
 # See: https://github.com/NixOS/nixpkgs/pull/122023
 export LC_ALL=C.UTF-8
 
-extraction_derivation='with import ./. {}; runCommand "unpacked-cabal-hashes" { } "tar xf ${all-cabal-hashes} --strip-components=1 --one-top-level=$out"'
+extraction_derivation='with import ./. {}; runCommandLocal "unpacked-cabal-hashes" { } "tar xf ${all-cabal-hashes} --strip-components=1 --one-top-level=$out"'
 unpacked_hackage="$(nix-build -E "$extraction_derivation" --no-out-link)"
 config_dir=pkgs/development/haskell-modules/configuration-hackage2nix