Skip to content

git: fix interpreter paths in contrib scripts - #553198

Merged
mdaniels5757 merged 1 commit into
NixOS:stagingfrom
usovalx:git-fix-contrib-shebangs
Sep 14, 2026
Merged

mdaniels5757 merged 1 commit into
NixOS:stagingfrom
usovalx:git-fix-contrib-shebangs

Conversation

@usovalx

@usovalx usovalx commented Aug 16, 2026 •

Copy link
Copy Markdown
Contributor

Fix perl & python interpreter path in installed git contrib scripts.

Things done

@usovalx
usovalx requested a review from me-and August 16, 2026 03:44
@nixpkgs-ci
nixpkgs-ci Bot requested review from a team, balsoft, kashw2, philiptaron, wmertens and zivarah and removed request for a team August 16, 2026 03:53
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. 10.rebuild-darwin: 2501-5000 This PR causes many rebuilds on Darwin and should target the staging branches. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. labels Aug 16, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested a review from a team August 16, 2026 03:55
Comment thread pkgs/by-name/gi/git/package.nix Resolved

@me-and me-and left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this tidying! One comment from me in addition to the one from @SandaruKasa, but this is just making things slightly more idiomatic rather than anything fundamental.

Comment thread pkgs/by-name/gi/git/package.nix Resolved
@usovalx
usovalx force-pushed the git-fix-contrib-shebangs branch from 9dca14a to da69712 Compare August 22, 2026 19:48
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. and removed 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. 10.rebuild-darwin: 2501-5000 This PR causes many rebuilds on Darwin and should target the staging branches. labels Aug 22, 2026
@usovalx
usovalx force-pushed the git-fix-contrib-shebangs branch from da69712 to 75332b9 Compare August 22, 2026 20:48
@usovalx
usovalx requested a review from me-and August 22, 2026 20:51
@usovalx

usovalx commented Aug 23, 2026

Copy link
Copy Markdown
Contributor Author

Ah, finally managed to build it proper - by disabling rust - that shrinks the build size just to manageable.
Was now actually able to run fixed git-jump - works like a charm now.

Comment thread pkgs/by-name/gi/git/package.nix Resolved
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Aug 24, 2026
@usovalx
usovalx force-pushed the git-fix-contrib-shebangs branch from 75332b9 to ee29444 Compare August 24, 2026 18:59
@usovalx
usovalx force-pushed the git-fix-contrib-shebangs branch 2 times, most recently from c1b3a84 to fd88fe5 Compare August 24, 2026 19:12
@usovalx
usovalx force-pushed the git-fix-contrib-shebangs branch from fd88fe5 to 1e8e68e Compare August 24, 2026 19:13
@usovalx

usovalx commented Aug 27, 2026

Copy link
Copy Markdown
Contributor Author

@me-and Just wondering - does it need additional review (e.g. security review) or can it be tagged for merge bot?

@balsoft balsoft moved this from Needs Review to Reviewed in Nixpkgs security review Aug 28, 2026
@usovalx

usovalx commented Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

@NixOS/nixpkgs-merge-bot merge

@usovalx usovalx added the backport staging-26.05 Backport PR automatically label Aug 28, 2026
@nixpkgs-ci

nixpkgs-ci Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

@usovalx wants to merge this PR.

Requirements to merge this PR with @NixOS/nixpkgs-merge-bot merge:

  • ✅ PR targets a development branch.
  • ✅ PR touches only files of packages in pkgs/by-name/.
  • ❌ PR is at least one of:
  • ✅ PR is not a draft
  • ✅ PR is not blocked by a "changes requested" review from a committer.
  • ✅ usovalx is a member of @NixOS/nixpkgs-maintainers.
  • ❌ usovalx is a maintainer of all touched packages on the staging branch.

Tip

Maintainers eligible to merge are:

  • philiptaron
  • wmertens
  • andir
  • zivarah
  • me-and
  • leona-ya
  • kashw2
  • balsoft
  • pyrox0

❌ Pull Request could not be merged (#305350)

@me-and

me-and commented Aug 29, 2026

Copy link
Copy Markdown
Member

This needs approval from someone with the commit bit before it can be merged. @philiptaron, as the person I know is both a package maintainer and has the permissions?

@usovalx

usovalx commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

@h7x4 sorry for poking directly - would you be able to review & merge this one?
git-jump is quite a niche tool, but when you have it your muscle memory, it's quite annoying to have it broken

@mdaniels5757

Copy link
Copy Markdown
Member

npb · 3d78ead → 1e8e68e

Expand this for a reproducible command.
npb --base 3d78ead5d51f5664cbf38eaae0744997769f19ef --head 1e8e68e5a934df7f6591f969aae9918a59d0ff4b -p git -p gitMinimal -p gitFull -s x86_64-linux -s aarch64-linux -s aarch64-darwin
Expand this for a legend of all symbols below.
  • ✅ = successfully built
  • ❌ = failed to build
  • 🚫 = dependency failed to build
  • ❔ = couldn't try to build
  • ⏩ = failed to evaluate
  • ➖ = doesn't exist

x86_64-linux

🚫 → 🚫 · 6 packages (2 unique)
  • git.tests.cached-prefetch-avoids-fetch = gitFull.tests.cached-prefetch-avoids-fetch = gitMinimal.tests.cached-prefetch-avoids-fetch
  • git.tests.prefetch-git-no-add-path = gitFull.tests.prefetch-git-no-add-path = gitMinimal.tests.prefetch-git-no-add-path
✅ → ✅ · 55 packages (21 unique)
  • git.tests.buildbot-integration = gitFull.tests.buildbot-integration = gitMinimal.tests.buildbot-integration
  • git.tests.collect-rev = gitFull.tests.collect-rev = gitMinimal.tests.collect-rev
  • git.tests.describe-tag = gitFull.tests.describe-tag = gitMinimal.tests.describe-tag
  • git.tests.dumb-http-signed-tag = gitFull.tests.dumb-http-signed-tag = gitMinimal.tests.dumb-http-signed-tag
  • git.tests.fetchTags = gitFull.tests.fetchTags = gitMinimal.tests.fetchTags
  • git.tests.leave-git = gitFull.tests.leave-git = gitMinimal.tests.leave-git
  • git.tests.rootDir = gitFull.tests.rootDir = gitMinimal.tests.rootDir
  • git.tests.simple-tag = gitFull.tests.simple-tag = gitMinimal.tests.simple-tag
  • git.tests.simple = gitFull.tests.simple = gitMinimal.tests.simple
  • git.tests.sparseCheckoutNonConeMode = gitFull.tests.sparseCheckoutNonConeMode = gitMinimal.tests.sparseCheckoutNonConeMode
  • git.tests.sparseCheckout = gitFull.tests.sparseCheckout = gitMinimal.tests.sparseCheckout
  • git.tests.submodule-deep = gitFull.tests.submodule-deep = gitMinimal.tests.submodule-deep
  • git.tests.submodule-leave-git-deep = gitFull.tests.submodule-leave-git-deep = gitMinimal.tests.submodule-leave-git-deep
  • git.tests.submodule-leave-git = gitFull.tests.submodule-leave-git = gitMinimal.tests.submodule-leave-git
  • git.tests.submodule-revision-count = gitFull.tests.submodule-revision-count = gitMinimal.tests.submodule-revision-count
  • git.tests.submodule-simple = gitFull.tests.submodule-simple = gitMinimal.tests.submodule-simple
  • git.tests.withGitConfig = gitFull.tests.withGitConfig = gitMinimal.tests.withGitConfig
  • gitFull.tests.git-svn-version
  • gitFull
  • gitMinimal
  • git

aarch64-linux

🚫 → 🚫 · 6 packages (2 unique)
  • git.tests.cached-prefetch-avoids-fetch = gitFull.tests.cached-prefetch-avoids-fetch = gitMinimal.tests.cached-prefetch-avoids-fetch
  • git.tests.prefetch-git-no-add-path = gitFull.tests.prefetch-git-no-add-path = gitMinimal.tests.prefetch-git-no-add-path
✅ → ✅ · 52 packages (20 unique)
  • git.tests.collect-rev = gitFull.tests.collect-rev = gitMinimal.tests.collect-rev
  • git.tests.describe-tag = gitFull.tests.describe-tag = gitMinimal.tests.describe-tag
  • git.tests.dumb-http-signed-tag = gitFull.tests.dumb-http-signed-tag = gitMinimal.tests.dumb-http-signed-tag
  • git.tests.fetchTags = gitFull.tests.fetchTags = gitMinimal.tests.fetchTags
  • git.tests.leave-git = gitFull.tests.leave-git = gitMinimal.tests.leave-git
  • git.tests.rootDir = gitFull.tests.rootDir = gitMinimal.tests.rootDir
  • git.tests.simple-tag = gitFull.tests.simple-tag = gitMinimal.tests.simple-tag
  • git.tests.simple = gitFull.tests.simple = gitMinimal.tests.simple
  • git.tests.sparseCheckoutNonConeMode = gitFull.tests.sparseCheckoutNonConeMode = gitMinimal.tests.sparseCheckoutNonConeMode
  • git.tests.sparseCheckout = gitFull.tests.sparseCheckout = gitMinimal.tests.sparseCheckout
  • git.tests.submodule-deep = gitFull.tests.submodule-deep = gitMinimal.tests.submodule-deep
  • git.tests.submodule-leave-git-deep = gitFull.tests.submodule-leave-git-deep = gitMinimal.tests.submodule-leave-git-deep
  • git.tests.submodule-leave-git = gitFull.tests.submodule-leave-git = gitMinimal.tests.submodule-leave-git
  • git.tests.submodule-revision-count = gitFull.tests.submodule-revision-count = gitMinimal.tests.submodule-revision-count
  • git.tests.submodule-simple = gitFull.tests.submodule-simple = gitMinimal.tests.submodule-simple
  • git.tests.withGitConfig = gitFull.tests.withGitConfig = gitMinimal.tests.withGitConfig
  • gitFull.tests.git-svn-version
  • gitFull
  • gitMinimal
  • git
🚫 → ✅ · 3 packages (1 unique)
  • git.tests.buildbot-integration = gitFull.tests.buildbot-integration = gitMinimal.tests.buildbot-integration

aarch64-darwin

❌ → ❌ · 3 packages
  • git.tests.withInstallCheck
  • gitFull.tests.withInstallCheck
  • gitMinimal.tests.withInstallCheck
🚫 → 🚫 · 6 packages (2 unique)
  • git.tests.cached-prefetch-avoids-fetch = gitFull.tests.cached-prefetch-avoids-fetch = gitMinimal.tests.cached-prefetch-avoids-fetch
  • git.tests.prefetch-git-no-add-path = gitFull.tests.prefetch-git-no-add-path = gitMinimal.tests.prefetch-git-no-add-path
✅ → ✅ · 52 packages (20 unique)
  • git.tests.collect-rev = gitFull.tests.collect-rev = gitMinimal.tests.collect-rev
  • git.tests.describe-tag = gitFull.tests.describe-tag = gitMinimal.tests.describe-tag
  • git.tests.dumb-http-signed-tag = gitFull.tests.dumb-http-signed-tag = gitMinimal.tests.dumb-http-signed-tag
  • git.tests.fetchTags = gitFull.tests.fetchTags = gitMinimal.tests.fetchTags
  • git.tests.leave-git = gitFull.tests.leave-git = gitMinimal.tests.leave-git
  • git.tests.rootDir = gitFull.tests.rootDir = gitMinimal.tests.rootDir
  • git.tests.simple-tag = gitFull.tests.simple-tag = gitMinimal.tests.simple-tag
  • git.tests.simple = gitFull.tests.simple = gitMinimal.tests.simple
  • git.tests.sparseCheckoutNonConeMode = gitFull.tests.sparseCheckoutNonConeMode = gitMinimal.tests.sparseCheckoutNonConeMode
  • git.tests.sparseCheckout = gitFull.tests.sparseCheckout = gitMinimal.tests.sparseCheckout
  • git.tests.submodule-deep = gitFull.tests.submodule-deep = gitMinimal.tests.submodule-deep
  • git.tests.submodule-leave-git-deep = gitFull.tests.submodule-leave-git-deep = gitMinimal.tests.submodule-leave-git-deep
  • git.tests.submodule-leave-git = gitFull.tests.submodule-leave-git = gitMinimal.tests.submodule-leave-git
  • git.tests.submodule-revision-count = gitFull.tests.submodule-revision-count = gitMinimal.tests.submodule-revision-count
  • git.tests.submodule-simple = gitFull.tests.submodule-simple = gitMinimal.tests.submodule-simple
  • git.tests.withGitConfig = gitFull.tests.withGitConfig = gitMinimal.tests.withGitConfig
  • gitFull.tests.git-svn-version
  • gitFull
  • gitMinimal
  • git

@mdaniels5757
mdaniels5757 added this pull request to the merge queue Sep 14, 2026
Merged via the queue into NixOS:staging with commit 09f46cd Sep 14, 2026
27 of 29 checks passed
@nixpkgs-ci

nixpkgs-ci Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Successfully created backport PR for staging-26.05:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. backport staging-26.05 Backport PR automatically

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants