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:
Joachim Fasting 2017-05-11 20:34:34 +02:00
parent 8ae6797c0e
commit d438cbb0b6
No known key found for this signature in database
GPG Key ID: 7544761007FE4E08

View File

@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
outputs = [ "out" "man" "doc" ];
postPatch = ''
sed -i src/TARGETS -e '/^chkshsgr/d'
'';
configurePhase = ''
echo "$NIX_CC/bin/cc $NIX_CFLAGS_COMPILE" >src/conf-cc
echo "$NIX_CC/bin/cc -s" >src/conf-ld