lsof: Add (temporary?) tarball URL and fix eval on darwin.
This commit is contained in:
parent
ed4165570e
commit
0d0672e95c
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ ncurses ];
|
buildInputs = [ ncurses ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
urls =
|
urls = ["https://fossies.org/linux/misc/lsof_4.90.tar.bz2"] ++ # Mirrors seem to be down...
|
||||||
["ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_${version}.tar.bz2"]
|
["ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_${version}.tar.bz2"]
|
||||||
++ map (
|
++ map (
|
||||||
# the tarball is moved after new version is released
|
# the tarball is moved after new version is released
|
||||||
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
# Stop build scripts from searching global include paths
|
# Stop build scripts from searching global include paths
|
||||||
LSOF_INCLUDE = "${stdenv.cc.libc.dev}/include";
|
LSOF_INCLUDE = "${stdenv.lib.getDev stdenv.cc.libc}/include";
|
||||||
configurePhase = "LINUX_CONF_CC=$CC_FOR_BUILD LSOF_CC=$CC LSOF_AR=\"$AR cr\" LSOF_RANLIB=$RANLIB ./Configure -n ${dialect}";
|
configurePhase = "LINUX_CONF_CC=$CC_FOR_BUILD LSOF_CC=$CC LSOF_AR=\"$AR cr\" LSOF_RANLIB=$RANLIB ./Configure -n ${dialect}";
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
for filepath in $(find dialects/${dialect} -type f); do
|
for filepath in $(find dialects/${dialect} -type f); do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user