Skip to content

Commit

Permalink
Merge pull request #144651 from malob/fix-thefuck-darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Nov 4, 2021
2 parents 0581771 + 1549123 commit cd45372
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion pkgs/tools/misc/thefuck/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildPythonApplication
{ lib, stdenv, fetchFromGitHub, buildPythonApplication
, colorama, decorator, psutil, pyte, six
, go, mock, pytestCheckHook, pytest-mock
}:
Expand All @@ -18,6 +18,23 @@ buildPythonApplication rec {

checkInputs = [ go mock pytestCheckHook pytest-mock ];

disabledTests = lib.optional stdenv.isDarwin [
"test_settings_defaults"
"test_from_file"
"test_from_env"
"test_settings_from_args"
"test_get_all_executables_exclude_paths"
"test_with_blank_cache"
"test_with_filled_cache"
"test_when_etag_changed"
"test_for_generic_shell"
"test_on_first_run"
"test_on_run_after_other_commands"
"test_when_cant_configure_automatically"
"test_when_already_configured"
"test_when_successfully_configured"
];

meta = with lib; {
homepage = "https://github.com/nvbn/thefuck";
description = "Magnificent app which corrects your previous console command";
Expand Down

0 comments on commit cd45372

Please sign in to comment.