Skip to content

Commit

Permalink
fishPlugins.pure: re-enable check phase
Browse files Browse the repository at this point in the history
  • Loading branch information
pacien authored and AndersonTorres committed Aug 31, 2023
1 parent 015752d commit 2dc5c6e
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions pkgs/shells/fish/plugins/pure.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildFishPlugin, fetchFromGitHub, git, fishtape }:
{ lib, buildFishPlugin, fetchFromGitHub, git, fishtape_3 }:

buildFishPlugin rec {
pname = "pure";
Expand All @@ -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
'';
Expand Down

0 comments on commit 2dc5c6e

Please sign in to comment.