about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Ericson <mail@JohnEricson.me>2018-08-20 14:36:13 -0400
committerGitHub <noreply@github.com>2018-08-20 14:36:13 -0400
commitf0d6e22b7f0d89f4474abd41b917a18cec128529 (patch)
treed56c797841c3f7340ea438728cd4cfdeefe33ca1
parent8f6a72d25b4c7e582883e2b18c3df7811be6eb08 (diff)
parent6efaa88fccd445af25408d072299792789be7f54 (diff)
downloadnixlib-f0d6e22b7f0d89f4474abd41b917a18cec128529.tar
nixlib-f0d6e22b7f0d89f4474abd41b917a18cec128529.tar.gz
nixlib-f0d6e22b7f0d89f4474abd41b917a18cec128529.tar.bz2
nixlib-f0d6e22b7f0d89f4474abd41b917a18cec128529.tar.lz
nixlib-f0d6e22b7f0d89f4474abd41b917a18cec128529.tar.xz
nixlib-f0d6e22b7f0d89f4474abd41b917a18cec128529.tar.zst
nixlib-f0d6e22b7f0d89f4474abd41b917a18cec128529.zip
Merge pull request #45397 from volth/patch-233
$toplevel/system: buildPlatform.system -> hostPlatform.system
-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 96a669d81461..9d410a8b9ca4 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