mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
eebb241519
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
5 lines
87 B
Bash
5 lines
87 B
Bash
source $stdenv/setup
|
|
|
|
# !!! this is kinda hacky.
|
|
set | grep '^[a-zA-Z]\+=.*://' > $out
|