From 2dc5c6ef045ad396ca0e6cce0258108541c78d5b Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 29 Aug 2023 12:39:33 +0200 Subject: [PATCH] fishPlugins.pure: re-enable check phase --- pkgs/shells/fish/plugins/pure.nix | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/pkgs/shells/fish/plugins/pure.nix b/pkgs/shells/fish/plugins/pure.nix index 84142000fbd9..04334f14fa99 100644 --- a/pkgs/shells/fish/plugins/pure.nix +++ b/pkgs/shells/fish/plugins/pure.nix @@ -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 '';