gnused: apply gnulib.passthru.longdouble-redirect-patch

This commit is contained in:
Adam Joseph 2022-07-25 21:35:32 -07:00
parent 9eafe4319c
commit 1fa5ff7d5d

View file

@ -1,4 +1,5 @@
{ lib, stdenv, fetchurl, perl }:
{ lib, stdenv, fetchurl, perl
, gnulib }:
stdenv.mkDerivation rec {
pname = "gnused";
@ -12,6 +13,13 @@ stdenv.mkDerivation rec {
outputs = [ "out" "info" ];
nativeBuildInputs = [ perl ];
patches = [
# this change to gnused's vendored copy of gnulib is already
# merged upstream; we can drop this patch on the next version bump
gnulib.passthru.longdouble-redirect-patch
];
preConfigure = "patchShebangs ./build-aux/help2man";
# Prevents attempts of running 'help2man' on cross-built binaries.