nixos-config/overlays/riscv.nix

11 lines
298 B
Nix

args: self: prev: let
pkgsX86 = import args.nixpkgs {
system = "x86_64-linux";
crossSystem = "riscv64-linux";
overlays = [args.self.overlays.riscv64-linux];
config.allowUnfree = true;
};
in {
pandoc = self.writeScriptBin "pandoc" "true";
inherit (pkgsX86) gccgo gfortran;
}