mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03: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
|