mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
snipes: replace commit which doesn't belong to any branch with parent commit and recreate patch
This commit is contained in:
parent
4a3d942b06
commit
5d4a0aeee5
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue