Recompile for my specific cpu

This commit is contained in:
jopejoe1 2023-11-02 08:20:26 +01:00
parent 3fc2f785c3
commit 0892872e77
4 changed files with 52 additions and 8 deletions

View file

@ -8,12 +8,52 @@
prismlauncher.overlays.default
nur.overlay
(_self: super: {
(_self: super: rec {
tela-icon-theme = super.tela-icon-theme.overrideAttrs (_old: {
src = self.inputs.tela-icon-theme;
});
libreoffice-fresh-unwrapped = super.libreoffice-fresh-unwrapped.overrideAttrs (_old: {
doCheck = false;
});
haskellPackages = super.haskellPackages.override {
overrides = hsSelf: hsSuper: {
crypton = super.haskell.lib.overrideCabal hsSuper.crypton (oa: {
doCheck = false;
});
crypton-x509-validation = super.haskell.lib.overrideCabal hsSuper.crypton-x509-validation (oa: {
doCheck = false;
});
tls = super.haskell.lib.overrideCabal hsSuper.tls (oa: {
doCheck = false;
});
tls_1_9_0 = super.haskell.lib.overrideCabal hsSuper.tls_1_9_0 (oa: {
doCheck = false;
});
typst = super.haskell.lib.overrideCabal hsSuper.typst (oa: {
doCheck = false;
});
};
};
python311 = super.python311.override {
packageOverrides = py-self: py-super: {
numpy = py-super.numpy.overridePythonAttrs(old: {
disabledTests = [ "test_umath_accuracy" ] ++ (old.disabledTests or []);
doCheck = false;
doInstallCheck = false;
doPytestCheck = false;
});
pandas = py-super.pandas.overridePythonAttrs(old: {
disabledTests = [ "test_rolling" ] ++ (old.disabledTests or []);
});
};
};
python11Packages = python311.pkgs;
prismlauncher = super.prismlauncher.overrideAttrs (old: {
patches = (old.patches or []) ++ [
self.inputs.prism-game-options-patch