btrbk: install to bin

This commit is contained in:
André-Patrick Bubel
2018-01-29 20:15:43 +01:00
parent f833dd7067
commit fe0a15eaca
+1 -3
View File
@@ -29,9 +29,7 @@ stdenv.mkDerivation rec {
--replace '$btrbk' 'btrbk' --replace '$btrbk' 'btrbk'
''; '';
fixupPhase = '' preFixup = ''
patchShebangs $out/
wrapProgram $out/sbin/btrbk \ wrapProgram $out/sbin/btrbk \
--set PERL5LIB $PERL5LIB \ --set PERL5LIB $PERL5LIB \
--prefix PATH ':' "${stdenv.lib.makeBinPath [ btrfs-progs bash openssh ]}" --prefix PATH ':' "${stdenv.lib.makeBinPath [ btrfs-progs bash openssh ]}"