about summary refs log tree commit diff
path: root/nixos/modules/profiles
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/profiles
parentbee04a37ad9157fa7992b80df53919759b1ebffd (diff)
downloadnixlib-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.tar
nixlib-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.tar.gz
nixlib-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.tar.bz2
nixlib-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.tar.lz
nixlib-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.tar.xz
nixlib-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.tar.zst
nixlib-60f5659dad9ee8dc8b55f5ec814cd50cd6a8ca96.zip
treewide: Use correct output in ${config.nix.package}/bin
Diffstat (limited to 'nixos/modules/profiles')
-rw-r--r--nixos/modules/profiles/docker-container.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/profiles/docker-container.nix b/nixos/modules/profiles/docker-container.nix
index df762b7ac584..433492b96137 100644
--- a/nixos/modules/profiles/docker-container.nix
+++ b/nixos/modules/profiles/docker-container.nix
@@ -37,12 +37,12 @@ in {
       # After booting, register the contents of the Nix store in the Nix
       # database.
       if [ -f /nix-path-registration ]; then
-        ${config.nix.package}/bin/nix-store --load-db < /nix-path-registration &&
+        ${config.nix.package.out}/bin/nix-store --load-db < /nix-path-registration &&
         rm /nix-path-registration
       fi
 
       # nixos-rebuild also requires a "system" profile
-      ${config.nix.package}/bin/nix-env -p /nix/var/nix/profiles/system --set /run/current-system
+      ${config.nix.package.out}/bin/nix-env -p /nix/var/nix/profiles/system --set /run/current-system
     '';
 
   # Install new init script