diff options
author | Alexandre Esteves <alexandre.fmp.esteves@gmail.com> | 2021-11-08 12:44:42 +0000 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-11-08 05:07:43 -0800 |
commit | 68e457839c61d3027a3f6bb55f90b34068800db9 (patch) | |
tree | c1146d7ed752f7352507b061544e77b95869f708 /pkgs/development/tools/halfempty | |
parent | 80477648bdb81e65e0c8630431cd0a7446ed7a18 (diff) |
halfempty: fix tests via patch of unreleased commit
Diffstat (limited to 'pkgs/development/tools/halfempty')
-rw-r--r-- | pkgs/development/tools/halfempty/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/tools/halfempty/default.nix b/pkgs/development/tools/halfempty/default.nix index 5b96d338f52fb..35fdf7702a875 100644 --- a/pkgs/development/tools/halfempty/default.nix +++ b/pkgs/development/tools/halfempty/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, pkg-config, glib, util-linux, scowl }: +{ lib, stdenv, fetchFromGitHub, fetchpatch, pkg-config, glib, util-linux, scowl }: stdenv.mkDerivation rec { pname = "halfempty"; @@ -16,6 +16,14 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; + patches = [ + (fetchpatch { + name = "fix-bash-specific-syntax.patch"; + url = "https://github.com/googleprojectzero/halfempty/commit/ad15964d0fcaba12e5aca65c8935ebe3f37d7ea3.patch"; + sha256 = "sha256:0hgdci0wwi5wyw8i57w0545cxjmsmswm1y6g4vhykap0y40zizav"; + }) + ]; + postPatch = '' substituteInPlace test/Makefile \ --replace '/usr/share/dict/words' '${scowl}/share/dict/words.txt' |