socklog: disable shsgr test
Running the chkhsgr test on Hydra fails with ``` ./chkshsgr || ( cat warn-shsgr; exit 1 ) Oops. Your getgroups() returned 0, and setgroups() failed; this means that I can't reliably do my shsgr test. Please either ``make'' as root or ``make'' while you're in one or more supplementary groups. ``` We just assume that our supported platforms have working getgroups()/setgroups().
This commit is contained in:
parent
8ae6797c0e
commit
d438cbb0b6
@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "out" "man" "doc" ];
|
outputs = [ "out" "man" "doc" ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i src/TARGETS -e '/^chkshsgr/d'
|
||||||
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
echo "$NIX_CC/bin/cc $NIX_CFLAGS_COMPILE" >src/conf-cc
|
echo "$NIX_CC/bin/cc $NIX_CFLAGS_COMPILE" >src/conf-cc
|
||||||
echo "$NIX_CC/bin/cc -s" >src/conf-ld
|
echo "$NIX_CC/bin/cc -s" >src/conf-ld
|
||||||
|
Loading…
x
Reference in New Issue
Block a user