nixos-config/overlays/riscv.nix

39 lines
1,010 B
Nix
Raw Normal View History

2023-06-18 08:09:13 +00:00
args: self: prev: let
pkgsX86 = import args.nixpkgs {
system = "x86_64-linux";
crossSystem = "riscv64-linux";
overlays = [args.self.overlays.riscv64-linux];
config.allowUnfree = true;
};
2023-06-24 15:12:14 +00:00
lib = pkgsX86.lib;
2023-06-18 08:09:13 +00:00
in {
2023-06-19 13:46:16 +00:00
pandoc = self.writeScriptBin "pandoc" "true";
2023-07-05 06:39:58 +00:00
inherit (pkgsX86) nix;
2023-06-21 14:46:09 +00:00
bind = prev.bind.overrideAttrs (_: {
doCheck = false;
doInstallCheck = false;
});
2023-06-21 19:36:27 +00:00
restic = prev.restic.overrideAttrs (_: {
doCheck = false;
doInstallCheck = false;
});
2023-07-05 06:39:58 +00:00
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;
2023-06-18 08:09:13 +00:00
}