Skip to content

Commit

Permalink
socklog: disable shsgr test
Browse files Browse the repository at this point in the history
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().
  • Loading branch information
joachifm committed May 18, 2017
1 parent 8ae6797 commit d438cbb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/tools/system/socklog/default.nix
Expand Up @@ -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
Expand Down

0 comments on commit d438cbb

Please sign in to comment.