1 files changed, 2 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index ef9b5e9..87e18f3 100755
--- a/flake.nix
+++ b/flake.nix
@@ -148,7 +148,7 @@
nixpkgs.overlays = [
(final: prev: {
matrix-synapse-unwrapped = inputs.nixpkgs-master.legacyPackages.${pkgs.stdenv.hostPlatform.system}.matrix-synapse-unwrapped.overrideAttrs (oldAttrs: rec {
- patches = oldAttrs.patches ++ lib.map (
+ patches = (if oldAttrs ? patches then oldAttrs.patches else []) ++ lib.map (
path: ./packages/overlays/matrix-synapse/patches/${path}
) (builtins.attrNames (builtins.readDir ./packages/overlays/matrix-synapse/patches));
@@ -156,9 +156,7 @@
inherit (oldAttrs) src;
inherit patches;
name = "${oldAttrs.pname}-${oldAttrs.version}";
- #hash = "sha256-PdAyEGLYmMLgcPQjzjuwvQo55olKgr079gsgQnUoKTM=";
- hash = "sha256-leYnFxIlNnpjaIbfVRphFVpqWmueTkvHeNU8sFFxUeI=";
- #hash = "";
+ hash = "sha256-9VJnn8aPkShqK2wYGFr+S5koIjma7VOr+LkLXwStL1E=";
};
});
#draupnir = inputs.nixpkgs-master.legacyPackages.${pkgs.stdenv.hostPlatform.system}.draupnir;
|