···
1
-
{ stdenv, fetchFromGitHub, which, buildGoPackage }:
1
+
{ stdenv, fetchFromGitHub, which, buildGoPackage, utillinux, coreutils }:
ver = stdenv.lib.elemAt (stdenv.lib.splitString "." version);
···
17
-
sha256 = "0qvyxcyca3888nkgvyvqcmybm95ncwxb3zvrzbg2gz8kx6g6350v";
17
+
sha256 = "08bdqvsjl6c7dmllyz8n4akb7gyn91znvbph5cgmmk1bhskycy1r";
···
25
+
substituteInPlace pkg/bootstrap/docker/host/host.go \
26
+
--replace 'nsenter --mount=/rootfs/proc/1/ns/mnt findmnt' \
27
+
'nsenter --mount=/rootfs/proc/1/ns/mnt ${utillinux}/bin/findmnt'
29
+
substituteInPlace pkg/bootstrap/docker/host/host.go \
30
+
--replace 'nsenter --mount=/rootfs/proc/1/ns/mnt mount' \
31
+
'nsenter --mount=/rootfs/proc/1/ns/mnt ${utillinux}/bin/mount'
33
+
substituteInPlace pkg/bootstrap/docker/host/host.go \
34
+
--replace 'nsenter --mount=/rootfs/proc/1/ns/mnt mkdir' \
35
+
'nsenter --mount=/rootfs/proc/1/ns/mnt ${utillinux}/bin/mount'
cd go/src/origin-v${version}-src
# Openshift build require this variables to be set
# unless there is a .git folder which is not the case with fetchFromGitHub
31
-
export OS_GIT_VERSION=${version}
42
+
export OS_GIT_VERSION=v${version}
export OS_GIT_MAJOR=${versionMajor}
export OS_GIT_MINOR=${versionMinor}
···
description = "Build, deploy, and manage your applications with Docker and Kubernetes";
license = licenses.asl20;
homepage = http://www.openshift.org;
46
-
maintainers = with maintainers; [offline bachp];
57
+
maintainers = with maintainers; [offline bachp moretea];
platforms = platforms.linux;