pleroma: enable debugging

This commit is contained in:
2022-09-24 14:06:47 -07:00
parent 0c304e18eb
commit d8b2b73463
3 changed files with 31 additions and 8 deletions

View File

@@ -92,8 +92,8 @@
backends: [{ExSyslogger, :ex_syslogger}]
config :logger, :ex_syslogger,
level: :warn
# level: :debug
level: :debug
# level: :warn
# XXX colin: not sure if this actually _does_ anything
config :pleroma, :emoji,

View File

@@ -0,0 +1,12 @@
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,4 +26,15 @@ 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
]