From 121da5e93882073963836dcc2bbacc9e40f33d6c Mon Sep 17 00:00:00 2001 From: "Alexander V. Nikolaev" Date: Mon, 28 Nov 2016 14:47:46 +0200 Subject: [PATCH 1/2] lxc: fix sandbox builds Package attempt to write /etc/bash_completion.d, I directed it to "${out}/etc/bash_completion.d" as it was suggested. --- pkgs/os-specific/linux/lxc/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/os-specific/linux/lxc/default.nix b/pkgs/os-specific/linux/lxc/default.nix index aad73844a665..430836adb1a7 100644 --- a/pkgs/os-specific/linux/lxc/default.nix +++ b/pkgs/os-specific/linux/lxc/default.nix @@ -58,6 +58,7 @@ stdenv.mkDerivation rec { "localstatedir=\${TMPDIR}" "sysconfdir=\${out}/etc" "sysconfigdir=\${out}/etc/default" + "bashcompdir=\${out}/share/bash-completion/completions" "READMEdir=\${TMPDIR}/var/lib/lxc/rootfs" "LXCPATH=\${TMPDIR}/var/lib/lxc" ]; From a8eeef62e62bec7b09da028a7340b7bf7f2dc011 Mon Sep 17 00:00:00 2001 From: "Alexander V. Nikolaev" Date: Mon, 28 Nov 2016 13:44:20 +0200 Subject: [PATCH 2/2] lxc: 2.0.4 -> 2.0.6 (security) https://security-tracker.debian.org/tracker/CVE-2016-8649 --- pkgs/os-specific/linux/lxc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/lxc/default.nix b/pkgs/os-specific/linux/lxc/default.nix index 430836adb1a7..3c413ca2426f 100644 --- a/pkgs/os-specific/linux/lxc/default.nix +++ b/pkgs/os-specific/linux/lxc/default.nix @@ -12,11 +12,11 @@ in with stdenv.lib; stdenv.mkDerivation rec { name = "lxc-${version}"; - version = "2.0.4"; + version = "2.0.6"; src = fetchurl { url = "https://linuxcontainers.org/downloads/lxc/lxc-${version}.tar.gz"; - sha256 = "10lm7vfw4j7arcynmgyjqd8v2fqn7spbablj42j26kmzljcydj8l"; + sha256 = "0ynddnfirh9pmy7ijg300jrgzdhjzm07fsmvdw71mb2x0p82qabw"; }; nativeBuildInputs = [