mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
openshift: use go instead of go_1_10
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
1ccea556a1
commit
37b50c08eb
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, lib, fetchFromGitHub, removeReferencesTo, which, go_1_10, go-bindata, makeWrapper, rsync, utillinux
|
||||
{ stdenv, lib, fetchFromGitHub, removeReferencesTo, which, go, go-bindata, makeWrapper, rsync, utillinux
|
||||
, coreutils, kerberos, clang
|
||||
, components ? [
|
||||
"cmd/oc"
|
||||
|
@ -32,8 +32,8 @@ in stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
# go > 1.10
|
||||
# [FATAL] [14:44:02+0000] Please install Go version go1.10 or use PERMISSIVE_GO=y to bypass this check.
|
||||
buildInputs = [ removeReferencesTo makeWrapper which go_1_10 rsync go-bindata kerberos clang ];
|
||||
# [FATAL] [14:44:02+0000] Please install Go version go or use PERMISSIVE_GO=y to bypass this check.
|
||||
buildInputs = [ removeReferencesTo makeWrapper which go rsync go-bindata kerberos clang ];
|
||||
|
||||
outputs = [ "out" ];
|
||||
|
||||
|
@ -78,7 +78,7 @@ in stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
preFixup = ''
|
||||
find $out/bin -type f -exec remove-references-to -t ${go_1_10} '{}' +
|
||||
find $out/bin -type f -exec remove-references-to -t ${go} '{}' +
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue