Loading pkgs/servers/amqp/rabbitmq-server/default.nix +11 −9 Original line number Diff line number Diff line Loading @@ -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"; Loading @@ -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 Loading
pkgs/servers/amqp/rabbitmq-server/default.nix +11 −9 Original line number Diff line number Diff line Loading @@ -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"; Loading @@ -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