* 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
This commit is contained in:
Eelco Dolstra
2008-08-22 15:53:21 +00:00
parent 4457e49a90
commit eebb241519
3 changed files with 34 additions and 16 deletions
@@ -0,0 +1,4 @@
source $stdenv/setup
# !!! this is kinda hacky.
set | grep '^[a-zA-Z]\+=.*://' > $out