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
|
echo "Building $REPLY using nix-daemon" >&2
|
||||||
NIX_REMOTE=daemon @bindir@/nix-store -r "${NIX_STORE_DIR:-/nix/store}/${REPLY##*/}"
|
NIX_REMOTE=daemon @bindir@/nix-store -r "${NIX_STORE_DIR:-/nix/store}/${REPLY##*/}"
|
||||||
done;
|
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
|
elif [ "$i" = "nix-self://" ] ; then
|
||||||
cat needed-paths | while read ; do
|
cat needed-paths | while read ; do
|
||||||
echo "Building $REPLY using direct Nix build" >&2
|
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;
|
done;
|
||||||
fi;
|
fi;
|
||||||
mv needed-paths wanted-paths;
|
mv needed-paths wanted-paths;
|
||||||
|
|
Loading…
Reference in a new issue