File tree Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Original file line number Diff line number Diff line change 99 yarn ,
1010 nixosTests ,
1111 git ,
12+ nix-update-script ,
1213} :
1314let
1415 # this rarely changes https://github.com/zabbly/incus/blob/daily/patches/ui-canonical-renames.sed
1920in
2021stdenv . 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" ;
Original file line number Diff line number Diff line change 11import ./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"
You can’t perform that action at this time.
0 commit comments