openshift: fix build on darwin
`ncurses` is required as build input at build time on macOS. Therefore `ncurses` is moved from `buildInputs` to `nativeBuildInputs`. Without this change the build fails with `tput: command not found`.
This commit is contained in:
parent
9227a2ebbe
commit
02a518f00e
1 changed files with 9 additions and 2 deletions
|
@ -33,9 +33,16 @@ in buildGoPackage rec {
|
|||
|
||||
goPackagePath = "github.com/openshift/origin";
|
||||
|
||||
buildInputs = [ libkrb5 ncurses ];
|
||||
buildInputs = [ libkrb5 ];
|
||||
|
||||
nativeBuildInputs = [ which rsync go-bindata clang installShellFiles ];
|
||||
nativeBuildInputs = [
|
||||
clang
|
||||
go-bindata
|
||||
installShellFiles
|
||||
ncurses
|
||||
rsync
|
||||
which
|
||||
];
|
||||
|
||||
patchPhase = ''
|
||||
patchShebangs ./hack
|
||||
|
|
Loading…
Reference in a new issue