arm64 kernel: cross-compile

This commit is contained in:
2024-03-07 11:47:15 +02:00
parent dc5569f331
commit e9f3ef3b2b
2 changed files with 8 additions and 1 deletions

View File

@@ -110,6 +110,13 @@
nicer = super.callPackage ./pkgs/nicer.nix {};
gamja = super.callPackage ./pkgs/gamja.nix {};
})
(_: _: {
crossArm64 = import nixpkgs {
system = "x86_64-linux";
hostPlatform.config = "aarch64-linux";
buildPlatform.config = "x86_64-linux";
};
})
];
mkVM = system: