1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
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