mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
protoc-gen-elixir: use mixRelease escriptBinName
This commit is contained in:
parent
a5f67e6ba9
commit
c7ab7b947c
1 changed files with 1 additions and 14 deletions
|
@ -25,20 +25,7 @@ mixRelease rec {
|
|||
hash = "sha256-T1uL3xXXmCkobJJhS3p6xMrJUyiim3AMwaG87/Ix7A8=";
|
||||
};
|
||||
|
||||
buildInputs = [ erlang ];
|
||||
|
||||
postBuild = ''
|
||||
mix do escript.build
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
cp protoc-gen-elixir $out/bin
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
escriptBinName = "protoc-gen-elixir";
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue