servo: fix Pleroma

it would be nice if i could switch back to upstream Pleroma at some
point. that would require migrating the database.

alternatively, switching to a patch on top of upstream Pleroma might be
easier.
This commit is contained in:
colin 2022-09-24 15:09:11 -07:00
parent d8b2b73463
commit c5d2549ee4
3 changed files with 2 additions and 23 deletions

View File

@ -1,12 +0,0 @@
diff --git a/pkgs/servers/pleroma/default.nix b/pkgs/servers/pleroma/default.nix
index 3bea304ebc9d3..e4204f28f1d5c 100644
--- a/pkgs/servers/pleroma/default.nix
+++ b/pkgs/servers/pleroma/default.nix
@@ -16,6 +16,7 @@ beamPackages.mixRelease rec {
rev = "v${version}";
sha256 = "sha256-x8j/2Eot/EEHsedgZntB5MPxlYMNDlFyZtmiMdhcS7U=";
};
+ stripDebug = false;
mixNixDeps = import ./mix.nix {
inherit beamPackages lib;

View File

@ -26,15 +26,4 @@ fetchpatch: [
url = "https://github.com/NixOS/nixpkgs/pull/191467.diff";
sha256 = "sha256-Np0J06RER/0GGUhL/PDuVjpYYIPzB9A3EPWwTWpS/D4=";
})
# (fetchpatch {
# url = "https://github.com/NixOS/nixpkgs/pull/192472.diff";
# sha256 = "sha256-J4Vp2yErNZkKqZbpLY4mMo9n0Qtai1mAh6kZ8DOV4v4=";
# })
# (fetchpatch {
# url = "https://patch-diff.githubusercontent.com/raw/NixOS/nixpkgs/pull/192472.diff";
# sha256 = "sha256-J5Vp2yErNZkKqZbpLY4mMo9n0Qtai1mAh6kZ8DOV4v4=";
# })
./192472-pleroma-no-strip-debug.patch
]

View File

@ -49,6 +49,8 @@ beamPackages.mixRelease rec {
done
'' else "";
stripDebug = false;
mixNixDeps = import ./mix.nix {
inherit beamPackages lib;
overrides = (final: prev: {