mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
parent
d5ec2a2c9d
commit
7bcc6e9c45
1 changed files with 5 additions and 1 deletions
|
@ -12,8 +12,12 @@ stdenv.mkDerivation rec {
|
|||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/java
|
||||
sed -i 's#lib/riemann.jar#$out/share/java/riemann.jar#' bin/riemann
|
||||
|
||||
mkdir -p $out/share/java $out/bin $out/etc
|
||||
mv lib/riemann.jar $out/share/java/
|
||||
mv bin/riemann $out/bin/
|
||||
mv etc/riemann.config $out/etc/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue