about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorYureka <yuka@yuka.dev>2024-02-10 09:27:45 +0100
committerGitHub <noreply@github.com>2024-02-10 09:27:45 +0100
commit8f9789aa7fe8fab4cc1bb41b7c7331cac9a36bbf (patch)
tree72df65ec8719a8b64b2076c7db79adef4ed22462 /pkgs
parent196ad58d9876886fd985603f03684ea8627f36a4 (diff)
lsof: fix build on musl (#287623)
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/tools/misc/lsof/default.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkgs/development/tools/misc/lsof/default.nix b/pkgs/development/tools/misc/lsof/default.nix
index 9153a2dea1986..eece4f9722312 100644
--- a/pkgs/development/tools/misc/lsof/default.nix
+++ b/pkgs/development/tools/misc/lsof/default.nix
@@ -21,8 +21,6 @@ stdenv.mkDerivation rec {
     # We remove phony 'FRC' target that forces rebuilds:
     #   'version.h: FRC ...' is translated to 'version.h: ...'.
     sed -i lib/dialects/*/Makefile -e 's/version.h:\s*FRC/version.h:/'
-  '' + lib.optionalString stdenv.hostPlatform.isMusl ''
-    substituteInPlace dialects/linux/dlsof.h --replace "defined(__UCLIBC__)" 1
   '' + lib.optionalString stdenv.isDarwin ''
     sed -i 's|lcurses|lncurses|g' Configure
   '';