summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2017-09-13 18:03:51 +0200
committerJoachim Fasting <joachifm@fastmail.fm>2017-09-13 18:27:09 +0200
commit705f47f50e40dc37d60fe2affaac89c15126b4bd (patch)
treeaa1796f510c3efc3b07bec0fa80b69401945c569 /pkgs
parent2a329d4c18a614c1fc6cd2f5f78a814e1e92abb1 (diff)
downloadnixlib-705f47f50e40dc37d60fe2affaac89c15126b4bd.tar
nixlib-705f47f50e40dc37d60fe2affaac89c15126b4bd.tar.gz
nixlib-705f47f50e40dc37d60fe2affaac89c15126b4bd.tar.bz2
nixlib-705f47f50e40dc37d60fe2affaac89c15126b4bd.tar.lz
nixlib-705f47f50e40dc37d60fe2affaac89c15126b4bd.tar.xz
nixlib-705f47f50e40dc37d60fe2affaac89c15126b4bd.tar.zst
nixlib-705f47f50e40dc37d60fe2affaac89c15126b4bd.zip
socklog: properly disable the chkshsgr test
My previous attempt d438cbb0b6989491d9793469a8ca8d994679c13e was
bogus ...
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/system/socklog/default.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/pkgs/tools/system/socklog/default.nix b/pkgs/tools/system/socklog/default.nix
index 0b95dcdb193d..78898fa1099a 100644
--- a/pkgs/tools/system/socklog/default.nix
+++ b/pkgs/tools/system/socklog/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
   outputs = [ "out" "man" "doc" ];
 
   postPatch = ''
-    sed -i src/TARGETS -e '/^chkshsgr/d'
+    echo "int main() { return 0; }" >src/chkshsgr.c
   '';
 
   configurePhase = ''
@@ -27,8 +27,6 @@ stdenv.mkDerivation rec {
   buildPhase = ''package/compile'';
 
   installPhase = ''
-    runHook preInstall
-
     mkdir -p $out/bin
     mv command"/"* $out/bin
 
@@ -39,8 +37,6 @@ stdenv.mkDerivation rec {
 
     mkdir -p $doc/share/doc/socklog/html
     mv doc/*.html $doc/share/doc/socklog/html/
-
-    runHook postInstall
   '';
 
   checkPhase = ''package/check'';