Unverified Commit f3ee2a75 authored by Adam C. Stephens's avatar Adam C. Stephens Committed by GitHub
Browse files

Merge pull request #301712 from adamcstephens/incus/6

incus: 0.7.0 -> 6.0.0, add lts
parents c42a5af2 a55f6f15
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -65,6 +65,10 @@ Use `services.pipewire.extraConfig` or `services.pipewire.configPackages` for Pi
  }
  ```

- The initial Incus LTS release (v6.0.x) is now available through `virtualisation.incus` as the default. Users who wish to continue using the non-LTS release will need to set `virtualisation.incus.package = pkgs.incus`. Stable release users are encouraged to stay on the LTS release as non-LTS releases will by default not be backported.

- Canonical LXD has been upgraded to v5.21.x, an LTS release. The LTS release is now the only supported LXD release. Users are encouraged to [migrate to Incus](https://linuxcontainers.org/incus/docs/main/howto/server_migrate_lxd/) for better support on NixOS.

- lua interpreters default LUA_PATH and LUA_CPATH are not overriden by nixpkgs
  anymore, we patch LUA_ROOT instead which is more respectful to upstream.

+7 −5
Original line number Diff line number Diff line
@@ -109,14 +109,16 @@ in
        {command}`incus` command line tool, among others.
      '';

      package = lib.mkPackageOption pkgs "incus" { };
      package = lib.mkPackageOption pkgs "incus-lts" { };

      lxcPackage = lib.mkPackageOption pkgs "lxc" { };

      clientPackage = lib.mkPackageOption pkgs [
        "incus"
        "client"
      ] { };
      clientPackage = lib.mkOption {
        type = lib.types.package;
        default = cfg.package.client;
        defaultText = lib.literalExpression "config.virtualisation.incus.package.client";
        description = "The incus client package to use. This package is added to PATH.";
      };

      preseed = lib.mkOption {
        type = lib.types.nullOr (lib.types.submodule { freeformType = preseedFormat.type; });
+8 −3
Original line number Diff line number Diff line
# this release doesn't exist yet, but satisfay the by-name checks
# will be added as incus-lts in all-packages.nix once ready
import ./generic.nix { }
import ./generic.nix {
  hash = "sha256-+q5qP7w2RdtuwvxPThCryYYEJ7s5WDnWHRvjo4TuajA=";
  version = "6.0.0";
  vendorHash = "sha256-wcauzIbBcYpSWttZCVVE9m49AEQGolGYSsv9eEkhb7Y=";
  patches = [ ];
  lts = true;
  updateScriptArgs = "--lts=true --regex '6.0.*'";
}
+3 −3
Original line number Diff line number Diff line
import ./generic.nix {
  hash = "sha256-6TLoua3rooDRyPc5BPYgzU/oeVy6F8h+p3UtKGPZkAE=";
  version = "0.7.0";
  vendorHash = "sha256-Slw58pszT6sbpxK6/f+ojA+uStt0zSWxztFTm5ovZr8=";
  hash = "sha256-+q5qP7w2RdtuwvxPThCryYYEJ7s5WDnWHRvjo4TuajA=";
  version = "6.0.0";
  vendorHash = "sha256-wcauzIbBcYpSWttZCVVE9m49AEQGolGYSsv9eEkhb7Y=";
  patches = [ ];
}
+2 −0
Original line number Diff line number Diff line
@@ -9282,6 +9282,8 @@ with pkgs;
  inadyn = callPackage ../tools/networking/inadyn { };
  incus-lts = callPackage ../by-name/in/incus/lts.nix { };
  incron = callPackage ../tools/system/incron { };
  indexed-bzip2 = with python3Packages; toPythonApplication indexed-bzip2;