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

19 lines
336 B
Nix
Raw Normal View History

# Cross compiled packages for when shit breaks
{
nixpkgs,
lix,
...
}: let
pkgs_x86_64 = import nixpkgs {
system = "x86_64-linux";
crossSystem.system = "riscv64-linux";
overlays = [lix.overlays.default];
};
in {
nixpkgs.overlays = [
(self: super: {
inherit (pkgs_x86_64) lix nixos-option;
})
];
}