1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-18 08:59:42 +00:00

socklog: properly disable the chkshsgr test

My previous attempt d438cbb0b6 was
bogus ...
This commit is contained in:
Joachim Fasting 2017-09-13 18:03:51 +02:00
parent 2a329d4c18
commit 705f47f50e
No known key found for this signature in database
GPG key ID: 66EAB6B14F6B6E0D

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "man" "doc" ]; outputs = [ "out" "man" "doc" ];
postPatch = '' postPatch = ''
sed -i src/TARGETS -e '/^chkshsgr/d' echo "int main() { return 0; }" >src/chkshsgr.c
''; '';
configurePhase = '' configurePhase = ''
@ -27,8 +27,6 @@ stdenv.mkDerivation rec {
buildPhase = ''package/compile''; buildPhase = ''package/compile'';
installPhase = '' installPhase = ''
runHook preInstall
mkdir -p $out/bin mkdir -p $out/bin
mv command"/"* $out/bin mv command"/"* $out/bin
@ -39,8 +37,6 @@ stdenv.mkDerivation rec {
mkdir -p $doc/share/doc/socklog/html mkdir -p $doc/share/doc/socklog/html
mv doc/*.html $doc/share/doc/socklog/html/ mv doc/*.html $doc/share/doc/socklog/html/
runHook postInstall
''; '';
checkPhase = ''package/check''; checkPhase = ''package/check'';