Merge pull request #37969 from jluttine/fix-diskrsync
diskrsync: add ssh to PATH
This commit is contained in:
commit
f4b9d011c5
@ -1,4 +1,4 @@
|
|||||||
{ buildGoPackage, fetchFromGitHub, stdenv }:
|
{ buildGoPackage, fetchFromGitHub, stdenv, openssh, makeWrapper }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
|
|
||||||
@ -16,6 +16,12 @@ buildGoPackage rec {
|
|||||||
goPackagePath = "github.com/dop251/diskrsync";
|
goPackagePath = "github.com/dop251/diskrsync";
|
||||||
goDeps = ./deps.nix;
|
goDeps = ./deps.nix;
|
||||||
|
|
||||||
|
buildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
wrapProgram "$bin/bin/diskrsync" --prefix PATH : ${openssh}/bin
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Rsync for block devices and disk images";
|
description = "Rsync for block devices and disk images";
|
||||||
homepage = https://github.com/dop251/diskrsync;
|
homepage = https://github.com/dop251/diskrsync;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user