From d05619d5ce2e224047ddf0c8faf3adcc4d8ded98 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Mon, 15 Jul 2024 23:01:12 +0300 Subject: [PATCH] nix/default.nix: call pkgsAArch64 with passed in `system` as localSystem MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows forcing the native build by passing in --argstr system … --- nix/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/default.nix b/nix/default.nix index 800f6bd..0e7c1b9 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -27,7 +27,7 @@ let ++ pango.buildInputs; pkgsAArch64 = import nixpkgs { - localSystem = builtins.currentSystem; + localSystem = system; crossSystem = "aarch64-linux"; overlays = [ (import ./overlay.nix) ]; };