From 684cb012bac5a288d3e60657af155b2fafae9f93 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 65e7c05..bf15e73 100644 --- a/pkgs/levitate/default.nix +++ b/pkgs/levitate/default.nix @@ -2,6 +2,7 @@ writeScriptBin , writeScript , systemconfig +, stdenv , execline , lib , config ? {} @@ -63,6 +64,10 @@ let ../../modules/misc/assertions.nix ../../modules/nixpkgs.nix base + { + # Inherit from that target system host platform. + nixpkgs.hostPlatform = stdenv.hostPlatform; + } ({ ... } : paramConfig) ../../modules/s6 ];