This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
nixpkgs
Watch
2
Star
0
Fork
0
You've already forked nixpkgs
mirror of
https://github.com/NixOS/nixpkgs.git
synced
2024-12-22 21:53:32 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
8b895c9bcf
nixpkgs
/
pkgs
/
build-support
/
fetchurl
/
write-mirror-list.sh
5 lines
89 B
Bash
Raw
Normal View
History
Unescape
Escape
* Write the list of mirrors to a file that we can reuse between fetchurl instantiations, instead of passing the mirrors to fetchurl instantiations via environment variables. This makes the resulting store derivations (.drv files) much smaller, which in turn makes nix-env/nix-instantiate faster (4.8 -> 4.2 seconds on nix-env -qa --out-path). svn path=/nixpkgs/trunk/; revision=12695
2008-08-22 15:53:21 +00:00
source
$stdenv
/setup
# !!! this is kinda hacky.
fetchurl: change to grep -E to fix #8561 Close #21861.
2017-01-13 18:05:10 +00:00
set
|
grep -E
'^[a-zA-Z]+=.*://'
>
$out
Reference in New Issue
Copy Permalink