about summary refs log tree commit diff
path: root/pkgs/top-level
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-12-31 08:10:28 +0100
committerJörg Thalheim <joerg@thalheim.io>2019-01-18 14:41:10 +0000
commiteac6797380af1f0927ab683e2375429826d34e76 (patch)
tree4d292ad4c8eac2df780174bbcbe143802be68de9 /pkgs/top-level
parent487d2a7ccdf520e60b77809681e4ca377a7b741d (diff)
downloadnixlib-eac6797380af1f0927ab683e2375429826d34e76.tar
nixlib-eac6797380af1f0927ab683e2375429826d34e76.tar.gz
nixlib-eac6797380af1f0927ab683e2375429826d34e76.tar.bz2
nixlib-eac6797380af1f0927ab683e2375429826d34e76.tar.lz
nixlib-eac6797380af1f0927ab683e2375429826d34e76.tar.xz
nixlib-eac6797380af1f0927ab683e2375429826d34e76.tar.zst
nixlib-eac6797380af1f0927ab683e2375429826d34e76.zip
prefer-fetch-remote: an overlay to fetch on remote builders
This is useful when running tools like NixOps or nix-review
on workstations where the upload to the builder is significantly
slower then downloading the source on the builder itself.
Diffstat (limited to 'pkgs/top-level')
-rw-r--r--pkgs/top-level/all-packages.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 524741a0da04..a61bd8401679 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -207,6 +207,8 @@ in
 
   fetchMavenArtifact = callPackage ../build-support/fetchmavenartifact { };
 
+  prefer-remote-fetch = import ../build-support/prefer-remote-fetch;
+
   global-platform-pro = callPackage ../development/tools/global-platform-pro/default.nix { };
 
   graph-easy = callPackage ../tools/graphics/graph-easy { };