summary refs log tree commit diff
path: root/nixos/modules/virtualisation/brightbox-image.nix
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-04-24 13:57:19 +0300
committerVladimír Čunát <vcunat@gmail.com>2016-04-25 16:44:37 +0200
commit60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96 (patch)
treede17ddec6688300f2018c8dfc4964d5de057296b /nixos/modules/virtualisation/brightbox-image.nix
parentbee04a37ad9157fa7992b80df53919759b1ebffd (diff)
downloadnixpkgs-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.tar
nixpkgs-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.tar.gz
nixpkgs-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.tar.bz2
nixpkgs-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.tar.lz
nixpkgs-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.tar.xz
nixpkgs-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.tar.zst
nixpkgs-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.zip
treewide: Use correct output in ${config.nix.package}/bin
Diffstat (limited to 'nixos/modules/virtualisation/brightbox-image.nix')
-rw-r--r--nixos/modules/virtualisation/brightbox-image.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/virtualisation/brightbox-image.nix b/nixos/modules/virtualisation/brightbox-image.nix
index b6b2bd4f69b..bcafc06e47c 100644
--- a/nixos/modules/virtualisation/brightbox-image.nix
+++ b/nixos/modules/virtualisation/brightbox-image.nix
@@ -62,10 +62,10 @@ in
 
           # Register the paths in the Nix database.
           printRegistration=1 perl ${pkgs.pathsFromGraph} /tmp/xchg/closure | \
-              chroot /mnt ${config.nix.package}/bin/nix-store --load-db --option build-users-group ""
+              chroot /mnt ${config.nix.package.out}/bin/nix-store --load-db --option build-users-group ""
 
           # Create the system profile to allow nixos-rebuild to work.
-          chroot /mnt ${config.nix.package}/bin/nix-env \
+          chroot /mnt ${config.nix.package.out}/bin/nix-env \
               -p /nix/var/nix/profiles/system --set ${config.system.build.toplevel} \
               --option build-users-group ""