Fix leafnode by working around the check
This commit is contained in:
parent
53fa517176
commit
2e33964a6a
@ -10,6 +10,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = "--enable-runas-user=nobody";
|
configureFlags = "--enable-runas-user=nobody";
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
# configure uses id to check environment; we don't want this check
|
||||||
|
sed -re 's/^ID[=].*/ID="echo whatever"/' -i configure
|
||||||
|
'';
|
||||||
|
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
# The is_validfqdn is far too restrictive, and only allows
|
# The is_validfqdn is far too restrictive, and only allows
|
||||||
# Internet-facing servers to run. In order to run leafnode via
|
# Internet-facing servers to run. In order to run leafnode via
|
||||||
@ -24,6 +29,5 @@ stdenv.mkDerivation rec {
|
|||||||
description = "Leafnode implements a store & forward NNTP proxy";
|
description = "Leafnode implements a store & forward NNTP proxy";
|
||||||
license = stdenv.lib.licenses.mit;
|
license = stdenv.lib.licenses.mit;
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
broken = true; # The user check in the configure does not work in a chroot
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user