btrbk: install to bin

This commit is contained in:
André-Patrick Bubel 2018-01-29 20:15:43 +01:00
parent f833dd7067
commit fe0a15eaca

View File

@ -29,9 +29,7 @@ stdenv.mkDerivation rec {
--replace '$btrbk' 'btrbk'
'';
fixupPhase = ''
patchShebangs $out/
preFixup = ''
wrapProgram $out/sbin/btrbk \
--set PERL5LIB $PERL5LIB \
--prefix PATH ':' "${stdenv.lib.makeBinPath [ btrfs-progs bash openssh ]}"