nixos-config/machine/not522/cross-packages.nix

26 lines
480 B
Nix
Raw Normal View History

# Cross compiled packages for when shit breaks
{
nixpkgs,
lix,
...
2024-11-09 14:02:26 +00:00
}:
let
pkgs_x86_64 = import nixpkgs {
system = "x86_64-linux";
crossSystem.system = "riscv64-linux";
2024-11-09 14:02:26 +00:00
overlays = [ lix.overlays.default ];
};
2024-11-16 08:03:08 +00:00
pkgs_x86_64_2 = import nixpkgs {
system = "x86_64-linux";
crossSystem.system = "riscv64-linux";
};
2024-11-09 14:02:26 +00:00
in
{
nixpkgs.overlays = [
(self: super: {
2024-11-16 08:03:08 +00:00
inherit (pkgs_x86_64) lix;
inherit (pkgs_x86_64_2) nixos-option;
})
];
}