Merge pull request #34396 from Moredread/fix/btrbk

Fixes #34290
This commit is contained in:
Franz Pletz 2018-01-29 22:06:29 +00:00 committed by GitHub
commit 34c36ab2da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ]}"