Unverified Commit 4e6bb700 authored by Janne Heß's avatar Janne Heß
Browse files

gnugrep: Fix build on Musl

parent 2cc7256a
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