fix cross build
This commit is contained in:
11
flake.nix
11
flake.nix
@@ -15,8 +15,9 @@
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [
|
||||
(prev: final: {
|
||||
(final: prev: {
|
||||
vcpkg-tool = final.callPackage ./nix/packages/vcpkg-tool/package.nix { };
|
||||
vcpkg = import ./nix/packages/vcpkg/package.nix { inherit (prev) vcpkg; };
|
||||
})
|
||||
];
|
||||
};
|
||||
@@ -29,6 +30,14 @@
|
||||
test = pkgs.callPackage ./nix/packages/test/package.nix {
|
||||
src = ./.;
|
||||
};
|
||||
|
||||
test-aarch64 = pkgs.pkgsCross.aarch64-multiplatform.callPackage ./nix/packages/test/package.nix {
|
||||
src = ./.;
|
||||
};
|
||||
|
||||
test-armv7 = pkgs.pkgsCross.armv7l-hf-multiplatform.callPackage ./nix/packages/test/package.nix {
|
||||
src = ./.;
|
||||
};
|
||||
});
|
||||
|
||||
devShells = forAllSystems (system: pkgs: {
|
||||
|
||||
Reference in New Issue
Block a user