We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cddcee6 commit c71a0f7Copy full SHA for c71a0f7
pkgs/tools/system/htop/default.nix
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
32
let
33
libnlPath = lib.getLib libnl;
34
in
35
- ''
+ lib.optionalString stdenv.hostPlatform.isLinux ''
36
substituteInPlace configure.ac \
37
--replace-fail /usr/include/libnl3 ${lib.getDev libnl}/include/libnl3
38
substituteInPlace linux/LibNl.c \
0 commit comments