Loading
+2 −10
Original line number Diff line number Diff line
@@ -17,19 +17,18 @@
  pkg-config,
  systemd,

  fetchpatch,
  nix-update-script,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "lxc";
  version = "6.0.4";
  version = "6.0.5";

  src = fetchFromGitHub {
    owner = "lxc";
    repo = "lxc";
    tag = "v${finalAttrs.version}";
    hash = "sha256-zmL568PprrpIWTVCkScXHEzTZ+NduSH4r8ETnz4NY64=";
    hash = "sha256-bnvKSs7w1cq3vP2BzX4kfDrGUIFhU4Fnu5pM81jPVQ8=";
  };

  nativeBuildInputs = [
@@ -58,13 +57,6 @@ stdenv.mkDerivation (finalAttrs: {
    # Fix hardcoded path of lxc-user-nic
    # This is needed to use unprivileged containers
    ./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 = [