tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
iftop: fix Darwin build
Benjamin Staffin
10 years ago
806291b4
c61d0484
+2
-2
1 changed file
expand all
collapse all
unified
split
pkgs
tools
networking
iftop
default.nix
+2
-2
pkgs/tools/networking/iftop/default.nix
···
10
10
11
11
# Explicitly link against libgcc_s, to work around the infamous
12
12
# "libgcc_s.so.1 must be installed for pthread_cancel to work".
13
13
-
LDFLAGS = "-lgcc_s";
13
13
+
LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
14
14
15
15
preConfigure = ''
16
16
cp ${automake}/share/automake*/config.{sub,guess} config
···
27
27
'';
28
28
license = licenses.gpl2Plus;
29
29
homepage = http://ex-parrot.com/pdw/iftop/;
30
30
-
platforms = platforms.linux;
30
30
+
platforms = platforms.unix;
31
31
maintainers = [ maintainers.mornfall ];
32
32
};
33
33
}