summaryrefslogtreecommitdiff
path: root/pkgs/applications/editors/focuswriter/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/editors/focuswriter/default.nix')
-rw-r--r--pkgs/applications/editors/focuswriter/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/editors/focuswriter/default.nix b/pkgs/applications/editors/focuswriter/default.nix
index b4b83ff3a587..4c2e7c090428 100644
--- a/pkgs/applications/editors/focuswriter/default.nix
+++ b/pkgs/applications/editors/focuswriter/default.nix
@@ -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