Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/pkgs/build-support/fetchurl/write-mirror-list.sh

5 lines
89 B
Bash
Raw Normal View History

* 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 19:05:10 +01:00
set | grep -E '^[a-zA-Z]+=.*://' > $out
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 2107ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API