Skip to content

Commit

Permalink
pysaml2 is broken; prevents us from updating synapse; see: NixOS/nixp…
Browse files Browse the repository at this point in the history
  • Loading branch information
arachnist committed Jan 6, 2025
1 parent 8ea01c7 commit 887e68d
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion overlays/nibylandia.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
self: super:
let inherit (self) lib;
let
inherit (self) lib;
emptyDir = self.emptyDirectory;
in {
cass = super.callPackage ../pkgs/cass.nix { };
notbot = super.callPackage ../pkgs/notbot.nix { };
Expand Down Expand Up @@ -30,4 +32,18 @@ in {
};
};
python311Packages = self.python311.pkgs;

python312 = super.python312.override {
packageOverrides = self: super: { pysaml2 = self.toPythonModule emptyDir; };
};
matrix-synapse-unwrapped = super.matrix-synapse-unwrapped.overrideAttrs
(old: {
postPatch = (old.postPatch or "") + ''
substituteInPlace tests/storage/databases/main/test_events_worker.py --replace-fail \
$' def test_recovery(' \
$' from tests.unittest import skip_unless\n'\
$' @skip_unless(False, "broken")\n'\
$' def test_recovery('
'';
});
}

0 comments on commit 887e68d

Please sign in to comment.