From 1a607ef8ed381b06f850de1f5f0d4d0a676fb9ba Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 7 Dec 2024 16:11:04 +0100 Subject: [PATCH] fix: propagate host platform to levitated systems Signed-off-by: Raito Bezarius --- pkgs/levitate/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/levitate/default.nix b/pkgs/levitate/default.nix index b2b1ec3..966200b 100644 --- a/pkgs/levitate/default.nix +++ b/pkgs/levitate/default.nix @@ -2,6 +2,7 @@ writeScriptBin , writeScript , systemconfig +, stdenv , execline , lib , config ? {} @@ -64,6 +65,10 @@ let ../../modules/misc/assertions.nix ../../modules/nixpkgs.nix base + { + # Inherit from that target system host platform. + nixpkgs.hostPlatform = stdenv.hostPlatform; + } ({ ... } : paramConfig) ../../modules/s6 ];