From 6d64dacf9e3c0d895212611333ef5d43f34d528d Mon Sep 17 00:00:00 2001 From: Shogo Takata Date: Mon, 1 Sep 2025 04:58:12 +0900 Subject: [PATCH] gitlab-ci-local: 4.60.1 -> 4.61.1 Updates gitlab-ci-local. Removed the patch because upstream replaced re2 with re2js. --- pkgs/by-name/gi/gitlab-ci-local/package.nix | 29 +++------------------ 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/pkgs/by-name/gi/gitlab-ci-local/package.nix b/pkgs/by-name/gi/gitlab-ci-local/package.nix index 6de5e0960772..147140ad9f37 100644 --- a/pkgs/by-name/gi/gitlab-ci-local/package.nix +++ b/pkgs/by-name/gi/gitlab-ci-local/package.nix @@ -12,16 +12,16 @@ buildNpmPackage rec { pname = "gitlab-ci-local"; - version = "4.60.1"; + version = "4.61.1"; src = fetchFromGitHub { owner = "firecow"; repo = "gitlab-ci-local"; rev = version; - hash = "sha256-6v5iyQCP+3bJdG9uvPAsMaJ7mW2xj1kMhn8h2eLsl28="; + hash = "sha256-zHYUe5fAjK34zCjTYkg4pvvjRsaeuCyu7Gelcqki8P0="; }; - npmDepsHash = "sha256-P09uxOtlY9AAJyKLTdnFOfw0H6V4trr2hznEonOO58E="; + npmDepsHash = "sha256-eLT2ejLOtEI7eqWikBc/wFrStCuvYHvlZk9JiMPfuUI="; nativeBuildInputs = [ makeBinaryWrapper @@ -34,29 +34,6 @@ buildNpmPackage rec { ''; postInstall = '' - NODE_MODULES=$out/lib/node_modules/gitlab-ci-local/node_modules - - # Remove intermediate build files for re2 to reduce dependencies. - # - # This does not affect the behavior. On npm `re2` does not ship - # the build directory and downloads a prebuilt version of the - # `re2.node` binary. This method produces the same result. - find $NODE_MODULES/re2/build -type f ! -path "*/Release/re2.node" -delete - strip -x $NODE_MODULES/re2/build/Release/re2.node - - # Remove files that depend on python3 - # - # The node-gyp package is only used for building re2, so it is - # not needed at runtime. I did not remove the whole directory - # because of some dangling links to the node-gyp directory which - # is not required. It is possible to remove the directory and all - # the files that link to it, but I figured it was not worth - # tracking down the files. - # - # The re2/vendor directory is used for building the re2.node - # binary, so it is not needed at runtime. - rm -rf $NODE_MODULES/{node-gyp/gyp,re2/vendor} - wrapProgram $out/bin/gitlab-ci-local \ --prefix PATH : "${ lib.makeBinPath [