Merge pull request #109108 from Mic92/static-strace

pkgsStatic.strace: fix build
This commit is contained in:
Maximilian Bosch 2021-01-12 15:04:11 +01:00 committed by GitHub
commit 70bff07817
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
# Without latex2man, no man pages are installed despite being
# prebuilt in the source tarball.
configureFlags = "LATEX2MAN=${coreutils}/bin/true";
configureFlags = [ "LATEX2MAN=${coreutils}/bin/true" ];
propagatedBuildInputs = [ xz ];

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
postPatch = "patchShebangs --host strace-graph";
configureFlags = stdenv.lib.optional (!stdenv.hostPlatform.isx86) "--enable-mpers=check";
configureFlags = [ "--enable-mpers=check" ];
meta = with stdenv.lib; {
homepage = "https://strace.io/";

View file

@ -310,7 +310,7 @@ lib.makeScope pkgs.newScope (self: with self; {
})
];
postPhpize = ''substituteInPlace configure --replace 'as_fn_error $? "Cannot locate header file libintl.h" "$LINENO" 5' ':' '';
configureFlags = "--with-gettext=${gettext}"; }
configureFlags = [ "--with-gettext=${gettext}" ]; }
{ name = "gmp";
buildInputs = [ gmp ];
configureFlags = [ "--with-gmp=${gmp.dev}" ]; }