about summary refs log tree commit diff
path: root/pkgs/tools/admin/lxd
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2021-11-06 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2021-11-06 04:20:00 +0000
commitd946c455f02586ba62afb145976bbda3e6399ca5 (patch)
tree187b0a94403f28b710c5f1a2089ee63a1ed3dc97 /pkgs/tools/admin/lxd
parentc95f0d0fb03107bc70816ffe6421bc862b31497a (diff)
lxd: 4.19 -> 4.20
Diffstat (limited to 'pkgs/tools/admin/lxd')
-rw-r--r--pkgs/tools/admin/lxd/default.nix17
1 files changed, 2 insertions, 15 deletions
diff --git a/pkgs/tools/admin/lxd/default.nix b/pkgs/tools/admin/lxd/default.nix
index e4d2b714610f6..24e241f1b247b 100644
--- a/pkgs/tools/admin/lxd/default.nix
+++ b/pkgs/tools/admin/lxd/default.nix
@@ -11,28 +11,15 @@
 
 buildGoPackage rec {
   pname = "lxd";
-  version = "4.19";
+  version = "4.20";
 
   goPackagePath = "github.com/lxc/lxd";
 
   src = fetchurl {
     url = "https://linuxcontainers.org/downloads/lxd/lxd-${version}.tar.gz";
-    sha256 = "0mxbzg8xra0qpd3g3z1b230f0519h56x4jnn09lbbqa92p5zck3f";
+    sha256 = "1mcf4i4z9y4l895v50amx8nix6wnaxv9h44012vj8w6wwbr4wl1m";
   };
 
-  patches = [
-    # lxd/checkfeature: check whether the kernel supports core scheduling
-    (fetchpatch {
-      url = "https://github.com/lxc/lxd/commit/ba6be1043714458b29c4b37687d4f624ee421943.patch";
-      sha256 = "0716129n70c6i695fyi1j8q6cls7g62vkdpcrlfrr9i324y3w1dx";
-    })
-    # feat: add support for nixOS path
-    (fetchpatch {
-      url = "https://github.com/lxc/lxd/commit/eeace06b2e3151786e94811ada8c658cce479f6d.patch";
-      sha256 = "sha256-knXlvcSvMPDeR0KqHFgh6YQZc+CSJ8yEqGE/vQMciEk=";
-    })
-  ];
-
   postPatch = ''
     substituteInPlace shared/usbid/load.go \
       --replace "/usr/share/misc/usb.ids" "${hwdata}/share/hwdata/usb.ids"