Update pkgs/tools/typesetting/lowdown/default.nix
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
This commit is contained in:
parent
259bf50810
commit
db89e667af
@ -34,7 +34,12 @@ stdenv.mkDerivation rec {
|
||||
patches = lib.optional (!stdenv.hostPlatform.isStatic) ./shared.patch;
|
||||
|
||||
doInstallCheck = stdenv.hostPlatform == stdenv.buildPlatform;
|
||||
installCheckPhase = "echo '# TEST' > test.md; $out/bin/lowdown test.md";
|
||||
installCheckPhase = ''
|
||||
runHook preInstallCheck
|
||||
echo '# TEST' > test.md
|
||||
lowdown test.md
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
|
||||
checkTarget = "regress";
|
||||
|
Loading…
Reference in New Issue
Block a user