headlamp-server: also update headlamp-frontend and headlamp hashes in updateScript (#544251)
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
nix-update,
|
||||
writeShellScript,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@@ -38,6 +40,14 @@ buildGoModule rec {
|
||||
mv $out/bin/cmd $out/bin/headlamp-server
|
||||
'';
|
||||
|
||||
# headlamp-frontend and headlamp inherit src (and version) from here, update their hashes aswell
|
||||
passthru.updateScript = writeShellScript "headlamp-update" ''
|
||||
set -euo pipefail
|
||||
${lib.getExe nix-update} headlamp-server
|
||||
${lib.getExe nix-update} --version=skip --no-src headlamp-frontend
|
||||
${lib.getExe nix-update} --version=skip --no-src headlamp
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "An easy-to-use and extensible Kubernetes web UI";
|
||||
homepage = "https://headlamp.dev";
|
||||
|
||||
Reference in New Issue
Block a user