snipes: replace commit which doesn't belong to any branch with parent commit and recreate patch

This commit is contained in:
Sandro Jäckel 2021-01-26 13:54:03 +01:00
parent 4a3d942b06
commit 5d4a0aeee5
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -13,13 +13,15 @@ in stdenv.mkDerivation {
src = fetchFromGitHub {
owner = "Davidebyzero";
repo = "Snipes";
rev = "343e14104b7848eb1f882401888e685b7918ef9f";
sha256 = "1rl70d5miak34warbwfv27z11vln4lvf7maqqc78z0gdc5zivdv2";
rev = "594af45108e07aa4159c3babc9b5e53609c3fd6e";
sha256 = "0gmh38swm74jmljy0bq27ipqzb4h8y9rzwc1j6harbd9qqz5knac";
};
postPatch = ''
substitute config-sample.h config.h \
--replace SnipesConsole.ttf $out/share/snipes/SnipesConsole.ttf
substituteInPlace GNUmakefile \
--replace 'CFLAGS=-Werror -Wall' 'CFLAGS=-Wall'
'';
enableParallelBuilding = true;