nixos-config/overlays/riscv.nix
2023-07-05 07:39:58 +01:00

39 lines
1 KiB
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;
};
lib = pkgsX86.lib;
in {
pandoc = self.writeScriptBin "pandoc" "true";
inherit (pkgsX86) nix;
inherit (args.attic.packages.x86_64-linux) attic-client;
bind = prev.bind.overrideAttrs (_: {
doCheck = false;
doInstallCheck = false;
});
restic = prev.restic.overrideAttrs (_: {
doCheck = false;
doInstallCheck = false;
});
python3 = prev.python3.override {
packageOverrides = final: prev: {
pytest-xdist = prev.pytest-xdist.overrideAttrs (_: {
doCheck = false;
doInstallCheck = false;
});
};
};
python3Packages = self.python3.pkgs;
python310 = prev.python310.override {
packageOverrides = final: prev: {
pytest-xdist = prev.pytest-xdist.overrideAttrs (_: {
doCheck = false;
doInstallCheck = false;
});
};
};
python310Packages = self.python310.pkgs;
}