mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +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=";
|
hash = "sha256-T1uL3xXXmCkobJJhS3p6xMrJUyiim3AMwaG87/Ix7A8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ erlang ];
|
escriptBinName = "protoc-gen-elixir";
|
||||||
|
|
||||||
postBuild = ''
|
|
||||||
mix do escript.build
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
runHook preInstall
|
|
||||||
|
|
||||||
mkdir -p $out/bin
|
|
||||||
cp protoc-gen-elixir $out/bin
|
|
||||||
|
|
||||||
runHook postInstall
|
|
||||||
'';
|
|
||||||
|
|
||||||
passthru.updateScript = nix-update-script { };
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue