summary refs log tree commit diff
path: root/nixos/modules/system/activation
diff options
context:
space:
mode:
authorvolth <volth@webmaster.ms>2018-08-20 18:12:13 +0000
committerGitHub <noreply@github.com>2018-08-20 18:12:13 +0000
commit6efaa88fccd445af25408d072299792789be7f54 (patch)
tree4ae2f2884c5a03b981a159686c200ac46d85ef57 /nixos/modules/system/activation
parentf305b9b0862f28a85a3dcc2a517d4fcb345abc42 (diff)
downloadnixlib-6efaa88fccd445af25408d072299792789be7f54.tar
nixlib-6efaa88fccd445af25408d072299792789be7f54.tar.gz
nixlib-6efaa88fccd445af25408d072299792789be7f54.tar.bz2
nixlib-6efaa88fccd445af25408d072299792789be7f54.tar.lz
nixlib-6efaa88fccd445af25408d072299792789be7f54.tar.xz
nixlib-6efaa88fccd445af25408d072299792789be7f54.tar.zst
nixlib-6efaa88fccd445af25408d072299792789be7f54.zip
$toplevel/system: buildPlatform.system -> hostPlatform.system
Diffstat (limited to 'nixos/modules/system/activation')
-rw-r--r--nixos/modules/system/activation/top-level.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/activation/top-level.nix b/nixos/modules/system/activation/top-level.nix
index da29e08b3691..18f661ba89ba 100644
--- a/nixos/modules/system/activation/top-level.nix
+++ b/nixos/modules/system/activation/top-level.nix
@@ -74,7 +74,7 @@ let
       echo -n "$configurationName" > $out/configuration-name
       echo -n "systemd ${toString config.systemd.package.interfaceVersion}" > $out/init-interface-version
       echo -n "$nixosLabel" > $out/nixos-version
-      echo -n "$system" > $out/system
+      echo -n "${pkgs.stdenv.hostPlatform.system}" > $out/system
 
       mkdir $out/fine-tune
       childCount=0