Merge #2630: add and use fetchpatch
fetchpatch is fetchurl that determinizes the patch. Some parts of generated patches change from time to time, e.g. see #1983 and http://comments.gmane.org/gmane.linux.distributions.nixos/12815 Using fetchpatch should prevent the hash from changing. Conflicts (auto-solved): pkgs/development/libraries/haskell/gitit/default.nix
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{ cabal, filepath, hslogger, MissingH, mtl, regexBase, regexCompat
|
||||
, regexPosix, fetchurl
|
||||
, regexPosix, fetchpatch
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
@@ -11,7 +11,7 @@ cabal.mkDerivation (self: {
|
||||
buildDepends = [
|
||||
filepath hslogger MissingH mtl regexBase regexCompat regexPosix
|
||||
];
|
||||
patches = [ (fetchurl { url = "https://github.com/jgoerzen/hsh/pull/10.patch"; sha256 = "0fw2ihl4hlncggwf3v4d7aydm3rzgzpcxplfbwq7janysix4q950"; }) ];
|
||||
patches = [ (fetchpatch { url = "https://github.com/jgoerzen/hsh/pull/10.patch"; sha256 = "0ddb3vf8ipf37zg4hkqh0frff1a7sv9ils3lw6qd3irpbwna1hdz"; }) ];
|
||||
meta = {
|
||||
homepage = "http://software.complete.org/hsh";
|
||||
description = "Library to mix shell scripting with Haskell programs";
|
||||
|
||||
Reference in New Issue
Block a user