feat: Update to cinny 4.10.5
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m25s

This commit is contained in:
2026-02-24 17:03:46 +05:30
parent 34737a5aef
commit 4e0cb41780
2 changed files with 38 additions and 2 deletions

View File

@@ -18,6 +18,43 @@
};
};
cinnyConfigFile = pkgs.writeText "cinny-config.json" cinnyConfig;
cinny = with pkgs;
buildNpmPackage rec {
pname = "cinny-unwrapped";
version = "4.10.5";
src = fetchFromGitHub {
owner = "cinnyapp";
repo = "cinny";
tag = "v${version}";
hash = "sha256-Napy3AcsLRDZPcBh3oq1U30FNtvoNtob0+AZtZSvcbM=";
};
nodejs = nodejs_22;
npmDepsHash = "sha256-2Lrd0jAwAH6HkwLHyivqwaEhcpFAIALuno+MchSIfxo=";
nativeBuildInputs = [
python3
pkg-config
];
buildInputs =
[
pixman
cairo
pango
]
++ lib.optionals stdenv.hostPlatform.isDarwin [giflib];
installPhase = ''
runHook preInstall
cp -r dist $out
runHook postInstall
'';
};
in {
sops = {
secrets."tuwunel/client_id" = {
@@ -80,7 +117,7 @@ in {
root ${cinnyConfigFile}
}
handle {
root * ${pkgs.cinny}
root * ${cinny}
try_files {path} /index.html
file_server
}

View File

@@ -9,7 +9,6 @@
};
};
misc-applications = final: prev: {
command-runner = inputs.command-runner.packages.${prev.system}.command-runner;
goread = final.pkgs.buildGoModule {
pname = "goread";
version = "v1.6.4";