fishPlugins.pure: re-enable check phase

This commit is contained in:
pacien 2023-08-29 12:39:33 +02:00 committed by Anderson Torres
parent 015752db49
commit 2dc5c6ef04

View file

@ -1,4 +1,4 @@
{ lib, buildFishPlugin, fetchFromGitHub, git, fishtape }:
{ lib, buildFishPlugin, fetchFromGitHub, git, fishtape_3 }:
buildFishPlugin rec {
pname = "pure";
@ -11,19 +11,11 @@ buildFishPlugin rec {
hash = "sha256-O8rC2uCuM3xUQPRap7XqyyAvO77hP+sqNM4mEQ7pZkw=";
};
# The tests aren't passing either on the project's CI.
# The release notes of the program for v3.5.0 say:
# > Tests are going crazy at the moment, should be fixed once fishtape 3.0
# > is released, and we do the switch.
# This is tracked in https://github.com/pure-fish/pure/issues/272
# and https://github.com/pure-fish/pure/pull/275.
doCheck = false;
nativeCheckInputs = [ git ];
checkPlugins = [ fishtape ];
checkPlugins = [ fishtape_3 ];
checkPhase = ''
# https://github.com/rafaelrinaldi/pure/issues/264
rm tests/_pure_string_width.test.fish
rm tests/pure_tools_installer.test.fish
rm tests/_pure_uninstall.test.fish
fishtape tests/*.test.fish
'';