[Nix-dev] bootstrap failure
Kevin Quick
quick at sparq.org
Tue Nov 22 06:14:19 CET 2011
Anyone know what might be going wrong with the nix-env invocation in the
bootstrap attempt below? This was following a "bash
/mnt/nix/store/nixos-prepare-install checkout-sources" operation.
# bash /mnt/nix/store/run-in-chroot "/nix/store/nixos-bootstrap --install
-j2 --keep-going --debug"
INFO: Enable networking: copying /etc/resolv.conf
INFO: mounting /proc /sys /dev and / to /host-system
+ '[' 1 '!=' 1 ']'
+ export LANG=
+ LANG=
+ export PATH=/nix/store/7w8b9g33z1vffv6y2swr3dbiddsrysdl-coreutils-8.7/bin
+ PATH=/nix/store/7w8b9g33z1vffv6y2swr3dbiddsrysdl-coreutils-8.7/bin
+ mkdir -m 01777 -p /tmp
+ mkdir -m 0755 -p /var
+ mkdir -m 0755 -p /nix/var/nix/gcroots /nix/var/nix/temproots
/nix/var/nix/manifests /nix/var/nix/userpool /nix/var/nix/profiles
/nix/var/nix/db /nix/var/log/nix/drvs
+ test -n http://nixos.org/releases/nixpkgs/channels/nixpkgs-unstable -a 1
'!=' 0
+ /nix/store/v8yf6bzqzgfszd3v6q15f100hq6x73yl-nix-1.0pre26015/bin/nix-pull
http://nixos.org/releases/nixpkgs/channels/nixpkgs-unstable/MANIFEST
fetching list of Nix archives at
`http://nixos.org/releases/nixpkgs/channels/nixpkgs-unstable/MANIFEST.bz2'...
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 17.7M 100 17.7M 0 0 1421k 0 0:00:12 0:00:12 --:--:--
1451k
52419 store paths in manifest
+ INFO 'building the system configuration...'
+ echo 'INFO: ' building the system configuration...
INFO: building the system configuration...
+ /nix/store/v8yf6bzqzgfszd3v6q15f100hq6x73yl-nix-1.0pre26015/bin/nix-env
-p /nix/var/nix/profiles/system -f /etc/nixos/nixos --set -A system -j2
--keep-going
error: user-thrown exception: Not defined.
(use `--show-trace' to show detailed location information)
INFO: unmounting /proc /sys /dev and removing /host-system if empty
rmdir: failed to remove `/mnt/host-system': Device or resource busy
# ls /mnt
0 bin dev etc host-system lost+found
nix nixos-install-archive.tar.bz2 proc README-BOOTSTRAP-NIXOS sys tmp
var
#
--
-KQ
More information about the nix-dev
mailing list