Merge pull request #144199 from andersk/lxd-core-scheduling

lxd: Add upstream patch for LXC 4.0.11 compatibility

authored by Mario Rodas and committed by GitHub 3a365591 2fe98c17

+9 -1
+9 -1
pkgs/tools/admin/lxd/default.nix
··· 1 - { lib, hwdata, pkg-config, lxc, buildGoPackage, fetchurl 1 + { lib, hwdata, pkg-config, lxc, buildGoPackage, fetchurl, fetchpatch 2 2 , makeWrapper, acl, rsync, gnutar, xz, btrfs-progs, gzip, dnsmasq, attr 3 3 , squashfsTools, iproute2, iptables, libcap 4 4 , dqlite, raft-canonical, sqlite-replication, udev ··· 19 19 url = "https://linuxcontainers.org/downloads/lxd/lxd-${version}.tar.gz"; 20 20 sha256 = "0mxbzg8xra0qpd3g3z1b230f0519h56x4jnn09lbbqa92p5zck3f"; 21 21 }; 22 + 23 + patches = [ 24 + # lxd/checkfeature: check whether the kernel supports core scheduling 25 + (fetchpatch { 26 + url = "https://github.com/lxc/lxd/commit/ba6be1043714458b29c4b37687d4f624ee421943.patch"; 27 + sha256 = "0716129n70c6i695fyi1j8q6cls7g62vkdpcrlfrr9i324y3w1dx"; 28 + }) 29 + ]; 22 30 23 31 postPatch = '' 24 32 substituteInPlace shared/usbid/load.go \