Commit 2dc5c6ef authored by pacien's avatar pacien Committed by Anderson Torres
Browse files

fishPlugins.pure: re-enable check phase

parent 015752db
Loading
Loading
Loading
Loading
+4 −12
Original line number Diff line number Diff line
{ 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
  '';