mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
btrbk: fix SSH filter script
This commit is contained in:
parent
849a685970
commit
759e66f63d
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, coreutils, bash, btrfs-progs, openssh, perl, perlPackages
|
||||
, asciidoc-full, makeWrapper }:
|
||||
, utillinux, asciidoc-full, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "btrbk-${version}";
|
||||
@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
|
||||
--replace "/bin/date" "${coreutils}/bin/date" \
|
||||
--replace "/bin/echo" "${coreutils}/bin/echo" \
|
||||
--replace '$btrbk' 'btrbk'
|
||||
|
||||
# Fix SSH filter script
|
||||
sed -i '/^export PATH/d' ssh_filter_btrbk.sh
|
||||
substituteInPlace ssh_filter_btrbk.sh --replace logger ${utillinux}/bin/logger
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
|
Loading…
Reference in New Issue
Block a user