Skip to content

Commit

Permalink
socklog: properly disable the chkshsgr test
Browse files Browse the repository at this point in the history
My previous attempt d438cbb was
bogus ...
  • Loading branch information
joachifm committed Sep 13, 2017
1 parent 2a329d4 commit 705f47f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pkgs/tools/system/socklog/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand All @@ -27,8 +27,6 @@ stdenv.mkDerivation rec {
buildPhase = ''package/compile'';

installPhase = ''
runHook preInstall
mkdir -p $out/bin
mv command"/"* $out/bin
Expand All @@ -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'';
Expand Down

0 comments on commit 705f47f

Please sign in to comment.