mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01: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
4 lines
87 B
Bash
4 lines
87 B
Bash
source $stdenv/setup
|
|
|
|
# !!! this is kinda hacky.
|
|
set | grep '^[a-zA-Z]\+=.*://' > $out
|