mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 13:29:00 +02:00
Merge pull request #39877 from dtzWill/fix/ltrace-debian-patches
ltrace: fix warnings and bugs using patches from debian
This commit is contained in:
commit
519d19bf72
|
@ -10,10 +10,14 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ elfutils libunwind ];
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
configureFlags="--disable-werror"
|
||||
makeFlagsArray=(INSTALL="install -c")
|
||||
prePatch = let
|
||||
debian = fetchurl {
|
||||
url = mirror://debian/pool/main/l/ltrace/ltrace_0.7.3-6.debian.tar.xz;
|
||||
sha256 = "0xc4pfd8qw53crvdxr29iwl8na53zmknca082kziwpvlzsick4kp";
|
||||
};
|
||||
in ''
|
||||
tar xf '${debian}'
|
||||
patches="$patches $(cat debian/patches/series | sed 's|^|debian/patches/|')"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue