forked from lix-project/lix-installer
fix binary cache test on old sshd
This commit is contained in:
parent
731ad9d4ee
commit
46eb5369d2
|
@ -138,8 +138,10 @@ let
|
|||
targetArg = pkg: "--substitution-targets ${pkg.outPath}";
|
||||
targetArgs = lib.concatMapStringsSep " " targetArg rootPaths;
|
||||
in {
|
||||
# We need -O for the old scp protocol because RHEL 8 has old SSH with broken SFTP
|
||||
# Might be deprecated soon, so remove when we remove RHEL 8
|
||||
copyTarball = ''
|
||||
scp -P 20022 $ssh_opts -r ${binaryCache} vagrant@localhost:binaryCache
|
||||
scp -O -P 20022 $ssh_opts -r ${binaryCache} vagrant@localhost:binaryCache
|
||||
'';
|
||||
install = ''
|
||||
pushd binaryCache
|
||||
|
|
Loading…
Reference in a new issue