Adam C. Stephens 2025-08-15 16:31:41 -04:00
parent 0f7a532e84
commit db7c9dc0e0
No known key found for this signature in database

View File

@ -17,19 +17,18 @@
pkg-config, pkg-config,
systemd, systemd,
fetchpatch,
nix-update-script, nix-update-script,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "lxc"; pname = "lxc";
version = "6.0.4"; version = "6.0.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lxc"; owner = "lxc";
repo = "lxc"; repo = "lxc";
tag = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}";
hash = "sha256-zmL568PprrpIWTVCkScXHEzTZ+NduSH4r8ETnz4NY64="; hash = "sha256-bnvKSs7w1cq3vP2BzX4kfDrGUIFhU4Fnu5pM81jPVQ8=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -58,13 +57,6 @@ stdenv.mkDerivation (finalAttrs: {
# Fix hardcoded path of lxc-user-nic # Fix hardcoded path of lxc-user-nic
# This is needed to use unprivileged containers # This is needed to use unprivileged containers
./user-nic.diff ./user-nic.diff
# Fixes https://github.com/zabbly/incus/issues/81
(fetchpatch {
name = "4536.patch";
url = "https://patch-diff.githubusercontent.com/raw/lxc/lxc/pull/4536.patch";
hash = "sha256-yEqK9deO2MhfPROPfBw44Z752Mc5bR8DBKl1KrGC+5c=";
})
]; ];
mesonFlags = [ mesonFlags = [