summaryrefslogtreecommitdiff
path: root/pkgs/development/interpreters/lfe/fix-rebar-config.patch
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
committerRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
commit4bc5fbef9d159e143fb7e2c3231932e6e76f667c (patch)
treee2198f5c552e0667d838b8ec764ddb3a4d8f6dec /pkgs/development/interpreters/lfe/fix-rebar-config.patch
parentjq: fix build with structured-attrs on darwin (diff)
parentMerge pull request #123802 from superherointj/package-virtmanager-bugfix (diff)
downloadnixpkgs-origin/structured-attrs.tar.gz
Merge remote-tracking branch 'upstream/master' into structured-attrsorigin/structured-attrs
Diffstat (limited to 'pkgs/development/interpreters/lfe/fix-rebar-config.patch')
-rw-r--r--pkgs/development/interpreters/lfe/fix-rebar-config.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/lfe/fix-rebar-config.patch b/pkgs/development/interpreters/lfe/fix-rebar-config.patch
new file mode 100644
index 000000000000..ac385351b1cf
--- /dev/null
+++ b/pkgs/development/interpreters/lfe/fix-rebar-config.patch
@@ -0,0 +1,29 @@
+diff --git a/rebar.config b/rebar.config
+index 1d5a68e..a86ee39 100644
+--- a/rebar.config
++++ b/rebar.config
+@@ -2,20 +2,20 @@
+
+ {erl_opts, [debug_info]}.
+
+-{profiles, [{test, [{deps, [proper]}]}]}.
++%%{profiles, [{test, [{deps, [proper]}]}]}.
+
+ {pre_hooks, [{"(linux|darwin|solaris|freebsd|netbsd|openbsd)", ct,
+ "bin/lfe bin/lfec"
+- " -o $REBAR_DEPS_DIR/lfe/test"
++ " -o test"
+ " test/*_SUITE.lfe"},
+ {"(linux|darwin|solaris|freebsd|netbsd|openbsd)", eunit,
+ "bin/lfe bin/lfec"
+- " -o $REBAR_DEPS_DIR/lfe/ebin"
++ " -o ebin"
+ " test/clj-tests.lfe"},
+ %% TODO: Test this on a win32 box
+ %% {"win32", ct,
+ %% "bin/lfe bin/lfec -o $REBAR_DEPS_DIR/lfe/test test/*_SUITE.lfe"}
+ {"(linux|darwin|solaris|freebsd|netbsd|openbsd)", app_compile,
+- "bin/lfe bin/lfec -o $REBAR_DEPS_DIR/lfe/ebin src/*.lfe"}
++ "bin/lfe bin/lfec -o ebin src/*.lfe"}
+ %% TODO: equivalent win32 hook
+ ]}.