1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +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" ];
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'';