summary refs log tree commit diff
path: root/modules/system/activation/top-level.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-01-16 13:17:57 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-01-16 13:17:57 +0100
commit4d983d4955fcb6eb6b633b216ee0e29839b3b4a5 (patch)
treebeff564247646cf17057e39247e461b7c66491d5 /modules/system/activation/top-level.nix
parentae4e94d9acc510183fab1501bd6e9ed189b31e20 (diff)
downloadnixpkgs-4d983d4955fcb6eb6b633b216ee0e29839b3b4a5.tar
nixpkgs-4d983d4955fcb6eb6b633b216ee0e29839b3b4a5.tar.gz
nixpkgs-4d983d4955fcb6eb6b633b216ee0e29839b3b4a5.tar.bz2
nixpkgs-4d983d4955fcb6eb6b633b216ee0e29839b3b4a5.tar.lz
nixpkgs-4d983d4955fcb6eb6b633b216ee0e29839b3b4a5.tar.xz
nixpkgs-4d983d4955fcb6eb6b633b216ee0e29839b3b4a5.tar.zst
nixpkgs-4d983d4955fcb6eb6b633b216ee0e29839b3b4a5.zip
Rename ‘system.build.systemd’ to ‘systemd.package’
This makes it cheaper to test a new systemd and is more consistent
with other modules.
Diffstat (limited to 'modules/system/activation/top-level.nix')
-rw-r--r--modules/system/activation/top-level.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/activation/top-level.nix b/modules/system/activation/top-level.nix
index 48c1c0be189..e99b50a0309 100644
--- a/modules/system/activation/top-level.nix
+++ b/modules/system/activation/top-level.nix
@@ -120,7 +120,7 @@ let
 
       echo -n "$kernelParams" > $out/kernel-params
       echo -n "$configurationName" > $out/configuration-name
-      echo -n "systemd ${toString config.system.build.systemd.interfaceVersion}" > $out/init-interface-version
+      echo -n "systemd ${toString config.systemd.package.interfaceVersion}" > $out/init-interface-version
       echo -n "$nixosVersion" > $out/nixos-version
 
       mkdir $out/fine-tune
@@ -149,7 +149,7 @@ let
     buildCommand = systemBuilder;
 
     inherit (pkgs) utillinux;
-    inherit (config.system.build) systemd;
+    systemd = config.systemd.package;
 
     inherit children;
     kernelParams =