Unverified Commit 5b831825 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

Merge #234943: gnugrep: Fix build on Musl

...into staging-next
parents 036bb8ff 4e6bb700
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -16,6 +16,11 @@ stdenv.mkDerivation {
    hash = "sha256-HbKu3eidDepCsW2VKPiUyNFdrk4ZC1muzHj1qVEnbqs=";
  };

  # Some gnulib tests fail on Musl: https://github.com/NixOS/nixpkgs/pull/228714
  postPatch = if stdenv.hostPlatform.isMusl then ''
    sed -i 's:gnulib-tests::g' Makefile.in
  '' else null;

  nativeCheckInputs = [ perl glibcLocales ];
  outputs = [ "out" "info" ]; # the man pages are rather small