Skip to content

Commit 6d4a5fd

Browse files
incus: 6.9.0 -> 6.10.1, ui: 0.14.7 -> 0.15.0 (#386395)
2 parents 9c2ee04 + c3b1c33 commit 6d4a5fd

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

pkgs/by-name/in/incus-ui-canonical/package.nix

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
yarn,
1010
nixosTests,
1111
git,
12+
nix-update-script,
1213
}:
1314
let
1415
# this rarely changes https://github.com/zabbly/incus/blob/daily/patches/ui-canonical-renames.sed
@@ -19,18 +20,19 @@ let
1920
in
2021
stdenv.mkDerivation rec {
2122
pname = "incus-ui-canonical";
22-
version = "0.14.7";
23+
version = "0.15.0";
2324

2425
src = fetchFromGitHub {
2526
owner = "zabbly";
2627
repo = "incus-ui-canonical";
28+
# only use tags prefixed by incus- they are the tested fork versions
2729
tag = "incus-${version}";
28-
hash = "sha256-O8dXTtpeFs2muwXHuNZsXjr15gWYlPmdjW4aQHwDBpY=";
30+
hash = "sha256-I0t2ShMkc/zYn7I6Vcd9A31ZAscY0D7cWAdF80NwRGg=";
2931
};
3032

3133
offlineCache = fetchYarnDeps {
3234
yarnLock = "${src}/yarn.lock";
33-
hash = "sha256-dkATFNjAPhrPbXhcJ/R4eIpcagKEwBSnRfLwqTPIe6c=";
35+
hash = "sha256-O7oEAjmCEmPpsO/rdkZVhUkxhFzhHpPRbmci3yRBA7g=";
3436
};
3537

3638
patchPhase = ''
@@ -72,7 +74,16 @@ stdenv.mkDerivation rec {
7274
runHook postInstall
7375
'';
7476

75-
passthru.tests.default = nixosTests.incus.ui;
77+
passthru = {
78+
tests.default = nixosTests.incus.ui;
79+
80+
updateScript = nix-update-script {
81+
extraArgs = [
82+
"--version-regex"
83+
"incus-([0-9\\.]+)"
84+
];
85+
};
86+
};
7687

7788
meta = {
7889
description = "Web user interface for Incus";

pkgs/by-name/in/incus/package.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import ./generic.nix {
2-
hash = "sha256-bi++GJLLYlX8JZwmxx4S2EGALuwVOGW4G7u2Nv6s26k=";
3-
version = "6.9.0";
4-
vendorHash = "sha256-aYQOKO5RMPqChV6hXPBfSLKdfCuS+BFVmpakJX7swKg=";
2+
hash = "sha256-uuaJoUrAZ1kSeO2xdXhfdI8Zy4zbA9r1pIhPMqzUios=";
3+
version = "6.10.1";
4+
vendorHash = "sha256-/8aBG8RiC03+oVI9lgPFwbi3b4juumziXL4WH0k/4PA=";
55
patches = [ ];
66
nixUpdateExtraArgs = [
77
"--override-filename=pkgs/by-name/in/incus/package.nix"

0 commit comments

Comments
 (0)