2024-10-29 12:44:27 +00:00
|
|
|
# Cross compiled packages for when shit breaks
|
|
|
|
{
|
|
|
|
nixpkgs,
|
|
|
|
lix,
|
|
|
|
...
|
2024-11-09 14:02:26 +00:00
|
|
|
}:
|
|
|
|
let
|
2024-10-29 12:44:27 +00:00
|
|
|
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-10-29 12:44:27 +00:00
|
|
|
};
|
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
|
|
|
|
{
|
2024-10-29 12:44:27 +00:00
|
|
|
nixpkgs.overlays = [
|
|
|
|
(self: super: {
|
2024-11-16 08:03:08 +00:00
|
|
|
inherit (pkgs_x86_64) lix;
|
|
|
|
inherit (pkgs_x86_64_2) nixos-option;
|
2024-10-29 12:44:27 +00:00
|
|
|
})
|
|
|
|
];
|
|
|
|
}
|