Merge branch 'staging' into glibc230
Conflicts: pkgs/applications/misc/vit/default.nix
This commit is contained in:
@@ -9,13 +9,13 @@
|
||||
stdenv.mkDerivation rec {
|
||||
project = "conmon";
|
||||
name = "${project}-${version}";
|
||||
version = "2.0.9";
|
||||
version = "2.0.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "containers";
|
||||
repo = project;
|
||||
rev = "v${version}";
|
||||
sha256 = "0wy3nihif9ih62rlskrjysshfaxdl878fj5ni1zfb9db4nsx6z0m";
|
||||
sha256 = "194wach3yrkvll2xaj0x77hzlngk2016mflgnd5k8knjn2b9dgvl";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
@@ -16,8 +16,7 @@
|
||||
}:
|
||||
|
||||
let
|
||||
makeFlags = "BUILDTAGS=\"apparmor seccomp selinux
|
||||
containers_image_ostree_stub\"";
|
||||
buildTags = "apparmor seccomp selinux containers_image_ostree_stub";
|
||||
in buildGoPackage rec {
|
||||
project = "cri-o";
|
||||
version = "1.16.1";
|
||||
@@ -47,7 +46,7 @@ in buildGoPackage rec {
|
||||
# Build the crio binaries
|
||||
function build() {
|
||||
go build \
|
||||
-tags ${makeFlags} \
|
||||
-tags "${buildTags}" \
|
||||
-o bin/"$1" \
|
||||
-buildmode=pie \
|
||||
-ldflags '-s -w ${ldflags}' \
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "crun";
|
||||
version = "0.10.6";
|
||||
version = "0.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "containers";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0v1hrlpnln0c976fb0k2ig4jv11qbyzf95z0wy92fd8r8in16rc1";
|
||||
sha256 = "0mn64hrgx4a7mhqjxn127i8yivhn1grp93wws1da1ffj4ap6ay76";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
@@ -19,6 +19,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preBuild = ''
|
||||
cat > git-version.h <<EOF
|
||||
#ifndef GIT_VERSION
|
||||
# define GIT_VERSION "nixpkgs-${version}"
|
||||
#endif
|
||||
EOF
|
||||
'';
|
||||
|
||||
# the tests require additional permissions
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
version = "1.25.0";
|
||||
version = "1.25.1";
|
||||
pname = "docker-compose";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0zlprmsgmj4z627snsl0qmq8y7ggcyqrqm5vxvrvcigl7zywnprc";
|
||||
sha256 = "003rb5hp8plb3yvv0x5dwzz13gdvq91nvrvx29d41h97n1lklw67";
|
||||
};
|
||||
|
||||
# lots of networking and other fails
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "open-vm-tools";
|
||||
version = "11.0.1";
|
||||
version = "11.0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vmware";
|
||||
repo = "open-vm-tools";
|
||||
rev = "stable-${version}";
|
||||
sha256 = "1p499ilb2j1s0d7qf19b8nig8ggdq7b60xcgb7bc18g8kp5g82lv";
|
||||
sha256 = "0idh8dqwb1df2di689090k9x1iap35jk3wg8yb1g70byichmscqb";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/open-vm-tools";
|
||||
|
||||
@@ -20,12 +20,14 @@ buildGoPackage rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig go-md2man installShellFiles ];
|
||||
|
||||
buildInputs = [ btrfs-progs libseccomp gpgme lvm2 systemd ];
|
||||
buildInputs = stdenv.lib.optionals stdenv.isLinux [ btrfs-progs libseccomp gpgme lvm2 systemd ];
|
||||
|
||||
buildPhase = ''
|
||||
pushd $NIX_BUILD_TOP/go/src/${goPackagePath}
|
||||
pushd go/src/${goPackagePath}
|
||||
patchShebangs .
|
||||
make binaries docs
|
||||
${if stdenv.isDarwin
|
||||
then "make CGO_ENABLED=0 BUILDTAGS='remoteclient containers_image_openpgp exclude_graphdriver_devicemapper' varlink_generate all"
|
||||
else "make binaries docs"}
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
@@ -39,7 +41,7 @@ buildGoPackage rec {
|
||||
homepage = https://podman.io/;
|
||||
description = "A program for managing pods, containers and container images";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ vdemeester saschagrunert ];
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ vdemeester saschagrunert marsam ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -5,13 +5,13 @@ with lib;
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "runc";
|
||||
version = "1.0.0-rc9";
|
||||
version = "1.0.0-rc10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "opencontainers";
|
||||
repo = "runc";
|
||||
rev = "v${version}";
|
||||
sha256 = "1ss5b46cbbckyqlwgj8dbd5l59c5y0kp679hcpc0ybaj53pmwxj7";
|
||||
sha256 = "0pi3rvj585997m4z9ljkxz2z9yxf9p2jr0pmqbqrc7bc95f5hagk";
|
||||
};
|
||||
|
||||
goPackagePath = "github.com/opencontainers/runc";
|
||||
|
||||
Reference in New Issue
Block a user