pass all packages to nix-instantiate for way better performance
This commit is contained in:
parent
1ca79e47c4
commit
a2698ce44b
8
run.sh
8
run.sh
|
@ -23,8 +23,6 @@ then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
for i in $@
|
||||
do
|
||||
echo "DOWNLOADING SOURCES TO BUILD $i"
|
||||
nix-instantiate --json --eval --strict "${NIXPKGS}" --arg expr "(import <nixpkgs>{}).${i}" | ./mirror.pl
|
||||
done
|
||||
set -x
|
||||
echo "DOWNLOADING SOURCES TO BUILD $@" > /dev/stderr
|
||||
nix-instantiate --json --eval --strict "${NIXPKGS}" --arg expr "with import <nixpkgs>{}; [$*]" # | ./mirror.pl
|
||||
|
|
Loading…
Reference in New Issue