diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2017-05-11 20:34:34 +0200 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2017-05-18 12:33:32 +0200 |
commit | d438cbb0b6989491d9793469a8ca8d994679c13e (patch) | |
tree | 32da9b68fc3d427fcd06ff361f622f305d1b78f7 /pkgs/tools/system/socklog | |
parent | 8ae6797c0e8a1b9c1ad741b13ce2e988578a195f (diff) | |
download | nixlib-d438cbb0b6989491d9793469a8ca8d994679c13e.tar nixlib-d438cbb0b6989491d9793469a8ca8d994679c13e.tar.gz nixlib-d438cbb0b6989491d9793469a8ca8d994679c13e.tar.bz2 nixlib-d438cbb0b6989491d9793469a8ca8d994679c13e.tar.lz nixlib-d438cbb0b6989491d9793469a8ca8d994679c13e.tar.xz nixlib-d438cbb0b6989491d9793469a8ca8d994679c13e.tar.zst nixlib-d438cbb0b6989491d9793469a8ca8d994679c13e.zip |
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().
Diffstat (limited to 'pkgs/tools/system/socklog')
-rw-r--r-- | pkgs/tools/system/socklog/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/system/socklog/default.nix b/pkgs/tools/system/socklog/default.nix index e0adad4eff85..0b893bfe0dc3 100644 --- a/pkgs/tools/system/socklog/default.nix +++ b/pkgs/tools/system/socklog/default.nix @@ -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 |