focuswriter: fix build (#398516)

This commit is contained in:
Aleksana
2025-04-17 09:35:34 +08:00
committed by GitHub
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
pkg-config,
cmake,
hunspell,
@@ -24,6 +25,15 @@ stdenv.mkDerivation rec {
hash = "sha256-oivhrDF3HikbEtS1cOlHwmQYNYf3IkX+gQGW0V55IWU=";
};
patches = [
# Fix build, remove at next version bump
# https://github.com/gottcode/focuswriter/pull/208
(fetchpatch {
url = "https://github.com/gottcode/focuswriter/commit/dd74ed4559a141653a06e7984c1251b992925775.diff";
hash = "sha256-1bxa91xnkF1MIQlA8JgwPHW/A80ThbVVdVtusmzd22I=";
})
];
nativeBuildInputs = [
pkg-config
cmake