halfempty: fix tests via patch of unreleased commit
This commit is contained in:
parent
80477648bd
commit
68e457839c
1 changed files with 9 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue