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:
parent
2a329d4c18
commit
705f47f50e
|
@ -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'';
|
||||||
|
|
Loading…
Reference in a new issue