mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 06:37:56 +00:00
rebar3-release: remove name attribute
This commit is contained in:
parent
2e832bb6ef
commit
b97a23cdd5
@ -12,8 +12,9 @@ let
|
||||
});
|
||||
});
|
||||
};
|
||||
in rebar3Relx {
|
||||
name = "erlang-ls";
|
||||
in
|
||||
rebar3Relx {
|
||||
pname = "erlang-ls";
|
||||
inherit version;
|
||||
src = fetchFromGitHub {
|
||||
inherit owner repo;
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ fetchFromGitHub, rebar3Relx, lib }:
|
||||
|
||||
rebar3Relx rec {
|
||||
name = "erlfmt";
|
||||
pname = "erlfmt";
|
||||
version = "1.0.0";
|
||||
releaseType = "escript";
|
||||
src = fetchFromGitHub {
|
||||
|
@ -5,8 +5,7 @@
|
||||
, lib
|
||||
}:
|
||||
|
||||
{ name ? null
|
||||
, pname ? name
|
||||
{ pname
|
||||
, version
|
||||
, src
|
||||
, beamDeps ? [ ]
|
||||
@ -27,7 +26,7 @@ with lib;
|
||||
|
||||
let
|
||||
shell = drv: stdenv.mkDerivation {
|
||||
name = "interactive-shell-${drv.name}";
|
||||
name = "interactive-shell-${drv.pname}";
|
||||
buildInputs = [ drv ];
|
||||
};
|
||||
|
||||
@ -101,7 +100,7 @@ let
|
||||
} // meta;
|
||||
|
||||
passthru = ({
|
||||
packageName = name;
|
||||
packageName = pname;
|
||||
env = shell self;
|
||||
} // (if attrs ? passthru then attrs.passthru else { }));
|
||||
} // customPhases);
|
||||
|
Loading…
Reference in New Issue
Block a user