Unverified Commit 7bc2df6b authored by nicoo's avatar nicoo Committed by GitHub
Browse files

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

parents 00c13ab0 26540cc2
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
{ 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; {