fix cross build

This commit is contained in:
2024-06-24 08:07:42 +02:00
committed by Øystein Tveit
parent be8e7ecd69
commit 78afb20efb
4 changed files with 72 additions and 10 deletions

View File

@@ -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: {