diff options
author | Adam Joseph <adam@westernsemico.com> | 2022-07-25 21:35:32 -0700 |
---|---|---|
committer | Adam Joseph <adam@westernsemico.com> | 2023-04-05 15:51:17 -0700 |
commit | 1fa5ff7d5d126e3a9d43781483af2edf6c4833d0 (patch) | |
tree | bba733685458f273183bb2e548bbe38fc1a07a54 | |
parent | 9eafe4319c247d3211c6c0783bb59003357f6064 (diff) | |
download | nixpkgs-1fa5ff7d5d126e3a9d43781483af2edf6c4833d0.tar nixpkgs-1fa5ff7d5d126e3a9d43781483af2edf6c4833d0.tar.gz nixpkgs-1fa5ff7d5d126e3a9d43781483af2edf6c4833d0.tar.bz2 nixpkgs-1fa5ff7d5d126e3a9d43781483af2edf6c4833d0.tar.lz nixpkgs-1fa5ff7d5d126e3a9d43781483af2edf6c4833d0.tar.xz nixpkgs-1fa5ff7d5d126e3a9d43781483af2edf6c4833d0.tar.zst nixpkgs-1fa5ff7d5d126e3a9d43781483af2edf6c4833d0.zip |
gnused: apply gnulib.passthru.longdouble-redirect-patch
-rw-r--r-- | pkgs/tools/text/gnused/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/tools/text/gnused/default.nix b/pkgs/tools/text/gnused/default.nix index f493e4f358d..35e707acaf9 100644 --- a/pkgs/tools/text/gnused/default.nix +++ b/pkgs/tools/text/gnused/default.nix @@ -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. |