Skip to content

Commit

Permalink
seafile-server: apply GCC 14 compatibility patch
Browse files Browse the repository at this point in the history
  • Loading branch information
melvyn2 committed Jan 7, 2025
1 parent 5634f52 commit 3d8dc15
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/by-name/se/seafile-server/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
stdenv,
lib,
fetchFromGitHub,
fetchpatch,
pkg-config,
python3,
autoreconfHook,
Expand Down Expand Up @@ -69,6 +70,14 @@ stdenv.mkDerivation {
oniguruma
];

patches = [
# https://github.com/haiwen/seafile-server/pull/658
(fetchpatch {
url = "https://github.com/haiwen/seafile-server/commit/8029a11a731bfe142af43f230f47b93811ebaaaa.patch";
hash = "sha256-AWNDXIyrKXgqgq3p0m8+s3YH8dKxWnf7uEMYzSsjmX4=";
})
];

postInstall = ''
mkdir -p $out/share/seafile/sql
cp -r scripts/sql $out/share/seafile
Expand Down

0 comments on commit 3d8dc15

Please sign in to comment.