Merge remote-tracking branch 'origin/master' into staging-next
Conflicts: pkgs/applications/graphics/emulsion/default.nix pkgs/development/tools/misc/texlab/default.nix pkgs/development/tools/rust/bindgen/default.nix pkgs/development/tools/rust/cargo-udeps/default.nix pkgs/misc/emulators/ruffle/default.nix pkgs/tools/misc/code-minimap/default.nix
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "babashka";
|
||||
version = "0.4.0";
|
||||
version = "0.4.1";
|
||||
|
||||
reflectionJson = fetchurl {
|
||||
name = "reflection.json";
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/babashka/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
|
||||
sha256 = "sha256-NY78gkKJd9ATdu7Ja1AvWkaPv0PuDIKWDZBeYGMJufU=";
|
||||
sha256 = "sha256-tKMxi0umMmM99NusSSE9tT95TBcfXm1lfo95fQRUBrs=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
29
pkgs/development/interpreters/lfe/fix-rebar-config.patch
Normal file
29
pkgs/development/interpreters/lfe/fix-rebar-config.patch
Normal file
@@ -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
|
||||
]}.
|
||||
@@ -39,7 +39,7 @@ buildRebar3 {
|
||||
|
||||
buildInputs = [ erlang makeWrapper ];
|
||||
beamDeps = [ proper ];
|
||||
patches = [ ./no-test-deps.patch ./dedup-ebins.patch ] ++ patches;
|
||||
patches = [ ./fix-rebar-config.patch ./dedup-ebins.patch ] ++ patches;
|
||||
doCheck = true;
|
||||
checkTarget = "travis";
|
||||
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/rebar.config b/rebar.config
|
||||
index 1d5a68e..ca33be7 100644
|
||||
--- a/rebar.config
|
||||
+++ b/rebar.config
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
{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"
|
||||
Reference in New Issue
Block a user