From bb3d4a1b1ee16ce158cc2fcf8f4e9c9976dfd4ee Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Wed, 28 May 2025 03:13:16 +0300 Subject: [PATCH 1/2] headscale-ui: lock version --- pkgs/headscale-ui/package.nix | 50 +++++++++++++++++------------------ 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/pkgs/headscale-ui/package.nix b/pkgs/headscale-ui/package.nix index f10d8d4..b084a7d 100644 --- a/pkgs/headscale-ui/package.nix +++ b/pkgs/headscale-ui/package.nix @@ -2,33 +2,33 @@ lib, stdenvNoCC, fetchzip, - pins, -}: let - pin = pins.headscale-ui; -in - stdenvNoCC.mkDerivation (finalAttrs: { - pname = "headscale-ui"; - inherit (pin) version; +}: +stdenvNoCC.mkDerivation (finalAttrs: { + pname = "headscale-ui"; + version = "2025.05.22"; - src = fetchzip { - url = "https://github.com/gurucomputing/headscale-ui/releases/download/${finalAttrs.version}/headscale-ui.zip"; - sha256 = "sha256-Autk8D9G1Ott2ahbgJ7mGZKDChsSDgfrOhnurNiIdsQ="; - }; + src = fetchzip { + url = "https://github.com/gurucomputing/headscale-ui/releases/download/${finalAttrs.version}/headscale-${finalAttrs.version}.tar.gz"; + hash = "sha256-qLX8YW5jjy4K4et7dkS0Bvug+k3NVw0m2d2Q0wLE1J4="; + stripRoot = false; + }; - installPhase = '' - runHook preInstall + dontConfigure = true; + dontBuild = true; - ls -lah - mkdir -p $out/share - cp -rvf ./* $out/share + installPhase = '' + runHook preInstall - runHook postInstall - ''; + mkdir -p $out/share/ + cp -rvf ./* $out/share/ - meta = { - description = "A web frontend for the headscale Tailscale-compatible coordination server"; - homepage = "https://github.com/gurucomputing/headscale-ui"; - license = [lib.licenses.bsd3]; - maintainers = with lib.maintainers; [NotAShelf]; - }; - }) + runHook postInstall + ''; + + meta = { + description = "Web frontend for the headscale Tailscale-compatible coordination server"; + homepage = "https://github.com/gurucomputing/headscale-ui"; + license = [lib.licenses.bsd3]; + maintainers = with lib.maintainers; [NotAShelf]; + }; +}) From fd1885b7a5ba0c544b6b735fe8f55c3d460de690 Mon Sep 17 00:00:00 2001 From: NotAShelf <62766066+NotAShelf@users.noreply.github.com> Date: Wed, 28 May 2025 02:00:11 +0000 Subject: [PATCH 2/2] [CI]: update npins --- npins/sources.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/npins/sources.json b/npins/sources.json index bb11c99..f41b91e 100644 --- a/npins/sources.json +++ b/npins/sources.json @@ -107,8 +107,8 @@ "nixpkgs": { "type": "Channel", "name": "nixpkgs-unstable", - "url": "https://releases.nixos.org/nixpkgs/nixpkgs-25.11pre806109.3108eaa516ae/nixexprs.tar.xz", - "hash": "1bc540qw17m15pjp11324j8y8wiib8iabb8iig18a66jbp381knx" + "url": "https://releases.nixos.org/nixpkgs/nixpkgs-25.11pre806481.bdc995d3e97c/nixexprs.tar.xz", + "hash": "1a28r3j3jnfa3qb67ajyzadr8apj091sx3jf7s5yvw7dn1wdd37f" }, "rat": { "type": "GitRelease",