fix: propagate host platform to levitated systems

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
Raito Bezarius 2024-12-07 16:11:04 +01:00
parent 9b03b4355b
commit 1a607ef8ed

View file

@ -2,6 +2,7 @@
writeScriptBin writeScriptBin
, writeScript , writeScript
, systemconfig , systemconfig
, stdenv
, execline , execline
, lib , lib
, config ? {} , config ? {}
@ -64,6 +65,10 @@ let
../../modules/misc/assertions.nix ../../modules/misc/assertions.nix
../../modules/nixpkgs.nix ../../modules/nixpkgs.nix
base base
{
# Inherit from that target system host platform.
nixpkgs.hostPlatform = stdenv.hostPlatform;
}
({ ... } : paramConfig) ({ ... } : paramConfig)
../../modules/s6 ../../modules/s6
]; ];