blob: 76c11cfc5e1ec2d7293f9d5d8288f5abad71fb6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
let
overlay = self: super: rec {
buildRustCrateHelpers = self.callPackage ./buildRustCrateHelpers.nix {};
carnix-cross-test = self.callPackage hello/Cargo.nix {
cratesIO = self.callPackage hello/crates-io.nix { };
};
rustHello = carnix-cross-test.hello {};
};
nixpkgs = import (builtins.fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) {
overlays = [ overlay ];
};
in {
inherit (nixpkgs.pkgsCross.aarch64-multiplatform)
hello
rustHello;
}
|