diff options
-rw-r--r-- | elixir-disable-mix-tests.patch | 12 | ||||
-rw-r--r-- | gn/packages/elixir.scm | 2 |
2 files changed, 13 insertions, 1 deletions
diff --git a/elixir-disable-mix-tests.patch b/elixir-disable-mix-tests.patch index 26e4fb9..649a916 100644 --- a/elixir-disable-mix-tests.patch +++ b/elixir-disable-mix-tests.patch @@ -58,6 +58,18 @@ index 9bfb6b4..d982ef3 100644 test "runs a given command" do assert capture_io("", fn -> assert cmd("echo hello") == 0 end) == "hello\n" +diff --git a/lib/mix/test/mix/shell/quiet_test.exs b/lib/mix/test/mix/shell/quiet_test.exs +index 626429b..99fab35 100644 +--- a/lib/mix/test/mix/shell/quiet_test.exs ++++ b/lib/mix/test/mix/shell/quiet_test.exs +@@ -29,6 +29,7 @@ defmodule Mix.Shell.QuietTest do + assert capture_io("", fn -> refute yes?("Ok?") end) + end + ++ @tag :skip + test "runs a given command" do + assert capture_io("", fn -> assert cmd("echo hello") == 0 end) == "" + diff --git a/lib/mix/test/mix/tasks/cmd_test.exs b/lib/mix/test/mix/tasks/cmd_test.exs index db4bf06..4d441f7 100644 --- a/lib/mix/test/mix/tasks/cmd_test.exs diff --git a/gn/packages/elixir.scm b/gn/packages/elixir.scm index e7ca690..b1d47ff 100644 --- a/gn/packages/elixir.scm +++ b/gn/packages/elixir.scm @@ -59,7 +59,7 @@ (lambda* (#:key inputs #:allow-other-keys) (substitute* "bin/elixir" (("ERL_EXEC=\"erl\"") (string-append "ERL_EXEC=" (which "erl")))))) - (add-after 'build 'patch-elixir-tests ;; patching earlier breaks the build + (add-after 'build 'disable-breaking-elixir-tests ;; when making this convential part of source the build breaks! (lambda* (#:key inputs #:allow-other-keys) (and |