Change:
Package name: lfe (Lisp Flavored Erlang) Latest released version: 2.1.1 <!-- Search your package here: --- Current version on the unstable channel: 1.3 Current version on the stable/release channel: 1.3 <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- Notify maintainers <!-- If the result shows no maintainers, tag the person that last updated the package. --Note for maintainers: Please tag this issue in your PR.
Please test. Tracking: But you can use nixpkgs-review too. At nixpkgs git directory: -

Discussion:
elixir-ls = callPackage ./elixir-ls { inherit elixir fetchMixDeps mixRelease; }; <del> lfe = lfe_1_3; lfe_1_3 = lib'.callLFE ../interpreters/lfe/1.3.nix { inherit erlang buildRebar3 buildHex; }; </del> <ins> lfe = lfe_2_1; lfe_2_1 = lib'.callLFE ../interpreters/lfe/2.1.nix { inherit erlang buildRebar3 buildHex; }; </ins> # Non hex packages. Examples how to build Rebar/Mix packages with and # without helper functions buildRebar3 and buildMix.

<del> { mkDerivation }: mkDerivation { version = "1.2.1"; sha256 = "0j5gjlsk92y14kxgvd80q9vwyhmjkphpzadcswyjxikgahwg1avz"; maximumOTPVersion = "19"; } </del>

<del> { fetchpatch, mkDerivation }: let _fetchpatch = { rev, sha256 }: fetchpatch { url = "https://github.com/rvirding/lfe/commit/${rev}.patch"; inherit sha256; }; fetchPatches = map _fetchpatch; in mkDerivation { version = "1.3"; sha256 = "0pgwi0h0d34353m39jin8dxw4yykgfcg90k6pc4qkjyrg40hh4l6"; maximumOTPVersion = "21"; patches = fetchPatches [ { rev = "b457e5d521bb35008e6049fab31b4073cc10d583"; sha256 = "1zrq1b3291xhb0jsirgb5s8hacq5xvz7xidsp29aqcnpazdvivdc"; } { rev = "5fe9f37741b7d53bd43109fd3435e1437f124a0d"; sha256 = "1anqlcbih52lc0wynf58r67w1jhn264lz49rczwgh19pqg92dvqf"; } { rev = "b8f3e06511cb6805cf3a904c1589b27f33f3958d"; sha256 = "1zqafc0asm9m6cq7r0brvfawv69fqggy1phif3zknjmpicf25pqf"; } { rev = "40c239a608460e55563edb68c1b6faca57518b54"; sha256 = "03av5115jwyammw337xzy50l6api5h0wbwwda5vzw0w10zwb2z8y"; } { rev = "5faa7106419263689bfc0bc08a7451ccb1fba718"; sha256 = "0ml5yh5b3rn4ympks4bpx409hkra0i79zvq80azk0kmbjd869fxp"; } { rev = "9ff978693babcfd043d741b5c6940920b8315892"; sha256 = "04968dmp527wbkdv7dqpaj3nsyjls93whc1b5hx73b39dvl3n3y1"; } ]; } </del>

<ins> { fetchpatch, mkDerivation }: mkDerivation { version = "2.1.1"; sha256 = "sha256-HUOVBzUaU0ixIfPPctwR2TPijxJjcFY3dJ8Z7Ot2bpE="; maximumOTPVersion = "25"; } </ins>

diff --git a/rebar.config b/rebar.config <del> index 1d5a68e..a86ee39 100644 </del> <ins> index 1204a6f..7e2c102 100644 </ins> --- a/rebar.config +++ b/rebar.config <del> @@ -2,20 +2,20 @@ {erl_opts, [debug_info]}. -{profiles, [{test, [{deps, [proper]}]}]}. +%%{profiles, [{test, [{deps, [proper]}]}]}. </del> <ins> @@ -23,16 +23,16 @@ </ins> {pre_hooks, [{"(linux|darwin|solaris|freebsd|netbsd|openbsd)", ct, <del> "bin/lfe bin/lfec" </del> <ins> "bin/lfescript bin/lfec" </ins> -              " -o $REBAR_DEPS_DIR/lfe/test" +              " -o test" " test/*_SUITE.lfe"}, {"(linux|darwin|solaris|freebsd|netbsd|openbsd)", eunit, <del> "bin/lfe bin/lfec" </del> <ins> "bin/lfescript bin/lfec" </ins> -              " -o $REBAR_DEPS_DIR/lfe/ebin" +              " -o ebin" <del> " test/clj-tests.lfe"}, </del> <ins> " test/clj-tests.lfe test/maps-tests.lfe"}, </ins> %% TODO: Test this on a win32 box %%  {"win32", ct, <del> %%   "bin/lfe bin/lfec -o $REBAR_DEPS_DIR/lfe/test test/*_SUITE.lfe"} </del> <ins> %%   "bin/lfescript bin/lfec -o $REBAR_DEPS_DIR/lfe/test test/*_SUITE.lfe"} </ins> {"(linux|darwin|solaris|freebsd|netbsd|openbsd)", app_compile, <del> -              "bin/lfe bin/lfec -o $REBAR_DEPS_DIR/lfe/ebin src/*.lfe"} +              "bin/lfe bin/lfec -o ebin src/*.lfe"} </del> <ins> -              "bin/lfescript bin/lfec -o $REBAR_DEPS_DIR/lfe/ebin src/*.lfe"} +              "bin/lfescript bin/lfec -o ebin src/*.lfe"} </ins> %% TODO: equivalent win32 hook ]}.

proper = buildHex { name = "proper"; <del> version = "1.1.1-beta"; </del> <ins> version = "1.4.0"; </ins> <del> sha256  = "0hnkhs761yjynw9382w8wm4j3x0r7lllzavaq2kh9n7qy3zc1rdx"; configurePhase = '' ${erlang}/bin/escript write_compile_flags include/compile_flags.hrl ''; </del> <ins> sha256  = "sha256-GChYQhhb0z772pfRNKXLWgiEOE2zYRn+4OPPpIhWjLs="; </ins> }; in

inherit (beam.packages.erlang) erlang-ls erlfmt elvis-erlang rebar rebar3 rebar3WithPlugins <del> fetchHex beamPackages; inherit (beam.packages.erlang_21) lfe lfe_1_3; </del> <ins> fetchHex beamPackages lfe lfe_2_1; </ins> gnudatalanguage = callPackage ../development/interpreters/gnudatalanguage { inherit (llvmPackages) openmp;

# access for example elixir built with different version of Erlang, use # `beam.packages.erlang_24.elixir`. inherit (self.packages.erlang) <del> elixir elixir_1_14 elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10 elixir-ls; inherit (self.packages.erlang) lfe lfe_1_3; </del> <ins> elixir elixir_1_14 elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10 elixir-ls lfe lfe_2_1; </ins> } // interpretersAliases; # Helper function to generate package set with a specific Erlang version.