libpipeline: apply gnulib.passthru.longdouble-redirect-patch
This commit is contained in:
parent
cee9981b32
commit
e2d44f6737
|
@ -1,4 +1,7 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl
|
||||
, gnulib
|
||||
, runCommand
|
||||
, patchutils }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libpipeline";
|
||||
|
@ -9,7 +12,18 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-uLRRlJiQIqeewTF/ZKKnWxVRsqVb6gb2dwTLKi5GkLA=";
|
||||
};
|
||||
|
||||
patches = lib.optionals stdenv.isDarwin [ ./fix-on-osx.patch ];
|
||||
patches = lib.optionals stdenv.isDarwin [
|
||||
./fix-on-osx.patch
|
||||
] ++ [
|
||||
(runCommand "longdouble-redirect-patch-extraPrefix" {} ''
|
||||
${patchutils}/bin/filterdiff \
|
||||
--strip=1 \
|
||||
--addoldprefix=a/gl/ \
|
||||
--addnewprefix=b/gl/ \
|
||||
${gnulib.passthru.longdouble-redirect-patch} \
|
||||
> $out
|
||||
'')
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://libpipeline.nongnu.org";
|
||||
|
|
Loading…
Reference in a new issue