Skip to content

Commit 0a2c7da

Browse files
authored
htop: make postPatch linux only to match dependency (#389413)
2 parents af28390 + c71a0f7 commit 0a2c7da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/tools/system/htop/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232
let
3333
libnlPath = lib.getLib libnl;
3434
in
35-
''
35+
lib.optionalString stdenv.hostPlatform.isLinux ''
3636
substituteInPlace configure.ac \
3737
--replace-fail /usr/include/libnl3 ${lib.getDev libnl}/include/libnl3
3838
substituteInPlace linux/LibNl.c \

0 commit comments

Comments
 (0)