diff --git a/nix/modules/project/settings/default.nix b/nix/modules/project/settings/default.nix index 89b82443..5e8b9def 100644 --- a/nix/modules/project/settings/default.nix +++ b/nix/modules/project/settings/default.nix @@ -80,8 +80,8 @@ in # In future, we can refactor this as part of https://github.com/srid/haskell-flake/issues/285 # NOTE: removeReferencesTo must apply *before* buildFromSdist, because the # later appears it fuck up the former otherwise. - impl = lib.attrsets.removeAttrs cfg.impl [ "buildFromSdist" "removeReferencesTo" ]; - fns = lib.attrValues impl ++ [ cfg.impl.buildFromSdist cfg.impl.removeReferencesTo ]; + impl = lib.attrsets.removeAttrs cfg.impl [ "buildFromSdist" "removeReferencesTo" "patches" ]; + fns = lib.attrValues impl ++ [ cfg.impl.buildFromSdist cfg.impl.removeReferencesTo cfg.impl.patches ]; in lib.pipe super.${name} ( # TODO: Do we care about the *order* of overrides?