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
|
{ stdenv, fetchurl, coreutils, bash, btrfs-progs, openssh, perl, perlPackages
|
||||||
, asciidoc-full, makeWrapper }:
|
, utillinux, asciidoc-full, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "btrbk-${version}";
|
name = "btrbk-${version}";
|
||||||
@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
|
|||||||
--replace "/bin/date" "${coreutils}/bin/date" \
|
--replace "/bin/date" "${coreutils}/bin/date" \
|
||||||
--replace "/bin/echo" "${coreutils}/bin/echo" \
|
--replace "/bin/echo" "${coreutils}/bin/echo" \
|
||||||
--replace '$btrbk' 'btrbk'
|
--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 = ''
|
preFixup = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user