buildFHSEnv: fix cross compilation

rootfs-builder is executed at build time and thus needs to be
built for the build machine architecture.
This commit is contained in:
Stefan Frijters
2024-11-30 11:02:48 +01:00
parent 08ae948608
commit 8a667a5213
@@ -174,7 +174,7 @@ let
allPaths = paths ++ paths32;
rootfs-builder = pkgs.rustPlatform.buildRustPackage {
rootfs-builder = pkgs.buildPackages.rustPlatform.buildRustPackage {
name = "fhs-rootfs-bulder";
src = ./rootfs-builder;
cargoLock.lockFile = ./rootfs-builder/Cargo.lock;