Merge #307504: fix alacritty-theme.updateScript and update drv

This commit is contained in:
nicoo
2024-04-29 15:22:53 +00:00
committed by GitHub
+7 -7
View File
@@ -1,18 +1,18 @@
{ lib
, fetchFromGitHub
, nix-update-script
, unstableGitUpdater
, stdenvNoCC
, ... }:
stdenvNoCC.mkDerivation (self: {
name = "alacritty-theme";
version = "unstable-2024-03-06";
pname = "alacritty-theme";
version = "0-unstable-2024-04-24";
src = fetchFromGitHub {
owner = "alacritty";
repo = "alacritty-theme";
rev = "cb786242b6f5e00a57e2f541e7bf1115f3950650";
hash = "sha256-fZJ0F4zJy6HOwWtZGm5yN4WfeFNJnW/UJhoQSZ0Bpxk=";
rev = "e866efd4ac4e1b4b05892bf9f9bae0540754bca3";
hash = "sha256-Uv/Nv2aipnMBM7F4IoUiLF4U/27SF9H/EEfnwGfjiIs=";
};
dontConfigure = true;
@@ -26,8 +26,8 @@ stdenvNoCC.mkDerivation (self: {
runHook postInstall
'';
passthru.updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
passthru.updateScript = unstableGitUpdater {
hardcodeZeroVersion = true;
};
meta = with lib; {