mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 11:05:14 +00:00
gnucash: fix breaking test
Patch taken from the upstream repository, should be fixed in next released version. This did require moving the invocation of `patchShebangs` from `patchPhase` to `postpatch`, but this seems consistent with at least some other packages.
This commit is contained in:
parent
7d69f11293
commit
b802f1a4cb
@ -2,7 +2,7 @@
|
|||||||
, intltool, glib, gtk2, libofx, aqbanking, gwenhywfar, libgnomecanvas, goffice
|
, intltool, glib, gtk2, libofx, aqbanking, gwenhywfar, libgnomecanvas, goffice
|
||||||
, webkit, glibcLocales, gsettings_desktop_schemas, makeWrapper, dconf, file
|
, webkit, glibcLocales, gsettings_desktop_schemas, makeWrapper, dconf, file
|
||||||
, gettext, swig, slibGuile, enchant, bzip2, isocodes, libdbi, libdbiDrivers
|
, gettext, swig, slibGuile, enchant, bzip2, isocodes, libdbi, libdbiDrivers
|
||||||
, pango, gdk_pixbuf
|
, pango, gdk_pixbuf, fetchpatch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -20,6 +20,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0x84f07p30pwhriamv8ifljgw755cj87rc12jy1xddf47spyj7rp";
|
sha256 = "0x84f07p30pwhriamv8ifljgw755cj87rc12jy1xddf47spyj7rp";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
sha256 = "11nlf9j7jm1i37mfcmmnkplxr3nlf257fxd01095vd65i2rn1m8h";
|
||||||
|
name = "fix-brittle-test.patch";
|
||||||
|
url = "https://github.com/Gnucash/gnucash/commit/42ac55e03a1a84739f4a5b7a247c31d91c0adc4a.patch";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
# general
|
# general
|
||||||
intltool pkgconfig libxml2 libxslt glibcLocales file gettext swig enchant
|
intltool pkgconfig libxml2 libxslt glibcLocales file gettext swig enchant
|
||||||
@ -40,7 +48,7 @@ stdenv.mkDerivation rec {
|
|||||||
makeWrapper
|
makeWrapper
|
||||||
];
|
];
|
||||||
|
|
||||||
patchPhase = ''
|
postPatch = ''
|
||||||
patchShebangs ./src
|
patchShebangs ./src
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user