Skip to content

Commit

Permalink
seafile-server: fix broken build on GCC 14 (#370753)
Browse files Browse the repository at this point in the history
apply GCC 14 compatibility patch
  • Loading branch information
melvyn2 authored Jan 15, 2025
1 parent 0bd024d commit fcc6b7d
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 fcc6b7d

Please sign in to comment.