summary refs log tree commit diff
path: root/nixos/modules/system/boot/loader/raspberrypi
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-08-20 15:18:07 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-08-20 15:22:46 -0400
commit7d85ade0ccf4fdb0b93fdbd18a07249a360144d4 (patch)
tree404c4c24cf391f6f59b6b731987de051743cb98d /nixos/modules/system/boot/loader/raspberrypi
parentf0d6e22b7f0d89f4474abd41b917a18cec128529 (diff)
downloadnixlib-7d85ade0ccf4fdb0b93fdbd18a07249a360144d4.tar
nixlib-7d85ade0ccf4fdb0b93fdbd18a07249a360144d4.tar.gz
nixlib-7d85ade0ccf4fdb0b93fdbd18a07249a360144d4.tar.bz2
nixlib-7d85ade0ccf4fdb0b93fdbd18a07249a360144d4.tar.lz
nixlib-7d85ade0ccf4fdb0b93fdbd18a07249a360144d4.tar.xz
nixlib-7d85ade0ccf4fdb0b93fdbd18a07249a360144d4.tar.zst
nixlib-7d85ade0ccf4fdb0b93fdbd18a07249a360144d4.zip
treewide: Purge `stdenv.platform` and top-level `platform`
Progress towards #27069
Diffstat (limited to 'nixos/modules/system/boot/loader/raspberrypi')
-rw-r--r--nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix b/nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix
index f974d07da9e5..9bec24c53f5b 100644
--- a/nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix
+++ b/nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix
@@ -15,7 +15,7 @@ let
     inherit configTxt;
   };
 
-  platform = pkgs.stdenv.platform;
+  inherit (pkgs.stdenv.hostPlatform) platform;
 
   builderUboot = import ./builder_uboot.nix { inherit config; inherit pkgs; inherit configTxt; };