Compare commits

...

2 commits

Author SHA1 Message Date
NotAShelf
fd1885b7a5 [CI]: update npins
Some checks are pending
Checks / check (NIXPKGS_ALLOW_INSECURE=1 nix flake check --accept-flake-config --impure) (push) Waiting to run
Checks / check (nix run .#alejandra-custom -- -c . -e ./npins) (push) Waiting to run
Checks / build (push) Blocked by required conditions
2025-05-28 02:00:11 +00:00
bb3d4a1b1e
headscale-ui: lock version 2025-05-28 03:13:16 +03:00
2 changed files with 27 additions and 27 deletions

View file

@ -107,8 +107,8 @@
"nixpkgs": { "nixpkgs": {
"type": "Channel", "type": "Channel",
"name": "nixpkgs-unstable", "name": "nixpkgs-unstable",
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-25.11pre806109.3108eaa516ae/nixexprs.tar.xz", "url": "https://releases.nixos.org/nixpkgs/nixpkgs-25.11pre806481.bdc995d3e97c/nixexprs.tar.xz",
"hash": "1bc540qw17m15pjp11324j8y8wiib8iabb8iig18a66jbp381knx" "hash": "1a28r3j3jnfa3qb67ajyzadr8apj091sx3jf7s5yvw7dn1wdd37f"
}, },
"rat": { "rat": {
"type": "GitRelease", "type": "GitRelease",

View file

@ -2,33 +2,33 @@
lib, lib,
stdenvNoCC, stdenvNoCC,
fetchzip, fetchzip,
pins, }:
}: let stdenvNoCC.mkDerivation (finalAttrs: {
pin = pins.headscale-ui;
in
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "headscale-ui"; pname = "headscale-ui";
inherit (pin) version; version = "2025.05.22";
src = fetchzip { src = fetchzip {
url = "https://github.com/gurucomputing/headscale-ui/releases/download/${finalAttrs.version}/headscale-ui.zip"; url = "https://github.com/gurucomputing/headscale-ui/releases/download/${finalAttrs.version}/headscale-${finalAttrs.version}.tar.gz";
sha256 = "sha256-Autk8D9G1Ott2ahbgJ7mGZKDChsSDgfrOhnurNiIdsQ="; hash = "sha256-qLX8YW5jjy4K4et7dkS0Bvug+k3NVw0m2d2Q0wLE1J4=";
stripRoot = false;
}; };
dontConfigure = true;
dontBuild = true;
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
ls -lah mkdir -p $out/share/
mkdir -p $out/share cp -rvf ./* $out/share/
cp -rvf ./* $out/share
runHook postInstall runHook postInstall
''; '';
meta = { meta = {
description = "A web frontend for the headscale Tailscale-compatible coordination server"; description = "Web frontend for the headscale Tailscale-compatible coordination server";
homepage = "https://github.com/gurucomputing/headscale-ui"; homepage = "https://github.com/gurucomputing/headscale-ui";
license = [lib.licenses.bsd3]; license = [lib.licenses.bsd3];
maintainers = with lib.maintainers; [NotAShelf]; maintainers = with lib.maintainers; [NotAShelf];
}; };
}) })