mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Also trying to build derivers in case we cannot get substituters
This commit is contained in:
parent
18e27629d3
commit
955b8841cd
1 changed files with 9 additions and 1 deletions
|
@ -93,10 +93,18 @@ for i in "$@"; do
|
|||
echo "Building $REPLY using nix-daemon" >&2
|
||||
NIX_REMOTE=daemon @bindir@/nix-store -r "${NIX_STORE_DIR:-/nix/store}/${REPLY##*/}"
|
||||
done;
|
||||
cat derivers-closure | while read; do
|
||||
echo "Realising $REPLY using nix-daemon" >&2
|
||||
NIX_REMOTE=daemon @bindir@/nix-store -r "${REPLY}"
|
||||
done;
|
||||
elif [ "$i" = "nix-self://" ] ; then
|
||||
cat needed-paths | while read ; do
|
||||
echo "Building $REPLY using direct Nix build" >&2
|
||||
NIX_REMOTE= @bindir@/nix-store -r "${NIX_STORE_DIR:-/nix/store}/${REPLY##*/}"
|
||||
NIX_REMOTE= @bindir@/nix-store -r "${NIX_STORE_DIR:-/nix/store}/${REPLY##*/}"
|
||||
done;
|
||||
cat derivers-closure | while read; do
|
||||
echo "Realising $REPLY using direct Nix build" >&2
|
||||
NIX_REMOTE= @bindir@/nix-store -r "${REPLY}"
|
||||
done;
|
||||
fi;
|
||||
mv needed-paths wanted-paths;
|
||||
|
|
Loading…
Reference in a new issue