mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
rabbitmq-server: Remove unused builder variable
This commit is contained in:
parent
6200d85eb4
commit
b6fe86fd45
@ -25,6 +25,17 @@
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
let
|
||||
runtimePath = lib.makeBinPath ([
|
||||
erlang
|
||||
getconf # for getting memory limits
|
||||
socat
|
||||
procps
|
||||
gnused
|
||||
coreutils # used by helper scripts
|
||||
] ++ lib.optionals stdenv.isLinux [ systemd ]); # for systemd unit activation check
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rabbitmq-server";
|
||||
version = "3.10.8";
|
||||
@ -48,15 +59,6 @@ stdenv.mkDerivation rec {
|
||||
export LANG=C.UTF-8 # fix elixir locale warning
|
||||
'';
|
||||
|
||||
runtimePath = lib.makeBinPath ([
|
||||
erlang
|
||||
getconf # for getting memory limits
|
||||
socat
|
||||
procps
|
||||
gnused
|
||||
coreutils # used by helper scripts
|
||||
] ++ lib.optionals stdenv.isLinux [ systemd ]); # for systemd unit activation check
|
||||
|
||||
postInstall = ''
|
||||
# rabbitmq-env calls to sed/coreutils, so provide everything early
|
||||
sed -i $out/sbin/rabbitmq-env -e '2s|^|PATH=${runtimePath}\''${PATH:+:}\$PATH/\n|'
|
||||
|
Loading…
Reference in New Issue
Block a user