This commit is contained in:
Shea Levy 2013-02-05 06:39:18 -05:00
parent 8ef4074811
commit 05f01685a0

View file

@ -119,7 +119,7 @@ if test -n "$build_users_group"; then
fi
binary_caches=$(@perl@/bin/perl -e 'use Nix::Config; Nix::Config::readConfig; print $Nix::Config::config{"binary-caches"};')
if test -n "$binary_caches"; then
echo "binary-caches $binary_caches" >> $mountPoint/tmp/nix.conf
echo "binary-caches = $binary_caches" >> $mountPoint/tmp/nix.conf
fi
export NIX_CONF_DIR=/tmp