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:
Stephan Heßelmann 2022-02-22 20:57:53 +01:00
parent 9227a2ebbe
commit 02a518f00e

View file

@ -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