mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
morph: add openssh to PATH
This commit is contained in:
parent
c0c1b9d64e
commit
7ccb1dbb41
@ -1,4 +1,4 @@
|
||||
{ buildGoPackage, fetchFromGitHub, go-bindata, lib }:
|
||||
{ buildGoPackage, fetchFromGitHub, go-bindata, openssh, makeWrapper, lib }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "morph";
|
||||
@ -14,6 +14,7 @@ buildGoPackage rec {
|
||||
goPackagePath = "github.com/dbcdk/morph";
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ go-bindata ];
|
||||
|
||||
buildFlagsArray = ''
|
||||
@ -29,6 +30,7 @@ buildGoPackage rec {
|
||||
postInstall = ''
|
||||
mkdir -p $lib
|
||||
cp -v $src/data/*.nix $lib
|
||||
wrapProgram $bin/bin/morph --prefix PATH : ${lib.makeBinPath [ openssh ]};
|
||||
'';
|
||||
|
||||
outputs = [ "out" "bin" "lib" ];
|
||||
|
Loading…
Reference in New Issue
Block a user