Comments had drifted into multi-paragraph narrative (git commit lineage, debugging stories, restated code) in several hot spots (scripts/deploy, hermes-agent.nix, flake.nix, gitea.nix, headscale.nix). Trim every comment to its load-bearing "why" — gotchas, safety warnings, and non-obvious rationale survive verbatim in substance, just tightened to 1-2 sentences; historical narrative and anything already covered in CLAUDE.md is cut. No code/logic changed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UJqEmY1y3AYX3JoX4Y6b21
43 lines
1.7 KiB
Nix
43 lines
1.7 KiB
Nix
{ lib, stdenvNoCC }:
|
|
|
|
# Slot Beauty Dark Icons (gnome-look.org/p/2346341), not packaged in
|
|
# nixpkgs. gnome-look/pling download links are signed JWTs that expire in
|
|
# ~2 days, so fetchurl against one would work today and fail on the next
|
|
# rebuild after that window — the tarball is vendored into the repo instead,
|
|
# as verified (md5 8b3e3e1e03c667b7f988b78ad2bc18a6 against the gnome-look
|
|
# API's reported checksum) at
|
|
# dotfiles/icons/Slot-Beauty-Dark-Icons-V-2.tar.xz.
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "slot-beauty-dark-icons";
|
|
version = "unstable-2026-07-24";
|
|
|
|
src = ../dotfiles/icons/Slot-Beauty-Dark-Icons-V-2.tar.xz;
|
|
|
|
dontBuild = true;
|
|
|
|
# Upstream ships dozens of dangling symlinks (icons aliased across sizes
|
|
# that don't all exist) — same class of minor packaging bug as
|
|
# azure-glassy-dark-icons. Harmless: GTK/Qt icon lookup falls through to
|
|
# the theme's own Inherits= chain (breeze-dark, Adwaita, hicolor) for those.
|
|
dontCheckForBrokenSymlinks = true;
|
|
|
|
# index.theme's Directories= names panel/16@2 etc. (Scale=2) but the
|
|
# on-disk dirs are 16@2x etc. (the correct suffix) — an upstream typo that
|
|
# makes `gtk-update-icon-cache` exit 1, so this theme ships uncached and
|
|
# relies on GTK's live directory scan instead (functionally fine, just not
|
|
# cache-accelerated).
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p "$out/share/icons"
|
|
cp -r . "$out/share/icons/Slot-Beauty-Dark-Icons-V-2"
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
description = "Slot Beauty dark icon theme, vendored from gnome-look.org (not packaged in nixpkgs)";
|
|
homepage = "https://www.gnome-look.org/p/2346341";
|
|
license = lib.licenses.gpl3Only;
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|