Skip to content

nushell, nushellPlugins: 0.109.1 -> 0.110.0, move from pkgs/shells to pkgs/by-name#482961

Merged
happysalada merged 3 commits intoNixOS:masterfrom
VuiMuich:auto-update/nushell
Jan 30, 2026
Merged

nushell, nushellPlugins: 0.109.1 -> 0.110.0, move from pkgs/shells to pkgs/by-name#482961
happysalada merged 3 commits intoNixOS:masterfrom
VuiMuich:auto-update/nushell

Conversation

@VuiMuich
Copy link
Copy Markdown
Contributor

@VuiMuich VuiMuich commented Jan 23, 2026

As per discussion in comment and following we want to use the opportunity of a version update to move nushell and its plugins from pkgs/shells to pkgs/by-name in order to make the packages merge-bot eligible since the respectiv PRs already get opened by @r-ryantm.

Note: #482538 attempts to gather plugins in pkgs/sets, as this structure is intended to be the future way of handling things, but this also requires changes to the merge-bot which is unforseeable, when this might happen, so we want to do the above move first to improve on the freshness of nushell and its plugins.

Updates

  • nushell: 0.109.1 -> 0.110.0
    and the following plugins
  • desktop_notifications: 0.108.0
  • hcl: 0.108.0 -> 0.110.0
  • highlights: 1.4.10+0.108.0 -> 1.4.12+0.110.0
  • semver: 0.11.8 -> 0.11.10
  • skim: 0.20.1 -> 0.22.0

Supersedes:
#481226
#480011
#467479
#466499
#466454
#466500

Mentioning the followng init PRs as a heads up for this upcoming change:
#484945
#484947
#420874
#420247
#420202
#350587
#350416
#343036
#254250
Note: to adjust the init PR to the here proposed structure you need to:

  • move your plugin package definition from pkgs/shells/nushell/nushellPlugins/<plugin-name>.nix to pkgs/by-name/nu/nushell-plugin-<plugin-name>/package.nix
  • add an entry <plugiin-name> = callPackage ../by-name/nu/nushell-plugin-<plugin-name>/package.nix { }; in pkgs/top-level/all-packages.nix at the nushellPlugins section (currently at line 9380)

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. labels Jan 23, 2026
@nixpkgs-ci nixpkgs-ci bot added 8.has: package (update) This PR updates a package to a newer version 2.status: merge conflict This PR has merge conflicts with the target branch labels Jan 27, 2026
@VuiMuich VuiMuich force-pushed the auto-update/nushell branch 4 times, most recently from cb70c5f to 9a8d276 Compare January 29, 2026 11:22
@VuiMuich VuiMuich force-pushed the auto-update/nushell branch from 9a8d276 to d430848 Compare January 29, 2026 11:26
@nixpkgs-ci nixpkgs-ci bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Jan 29, 2026
@VuiMuich VuiMuich force-pushed the auto-update/nushell branch from d430848 to 7510ec5 Compare January 29, 2026 13:00
Comment on lines -18 to -43
# add two checks:
# - `versionCheckhook`, checks wether it's a binary that is able to
# display its own version
# - A check which loads the plugin into the current version of nushell,
# to detect incompatibilities (plugins are compiled for very specific
# versions of nushell). If this fails, either update the plugin or mark
# as broken.
withChecks = p.overrideAttrs (
final: _prev: {
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];

passthru.tests.loadCheck =
let
nu = lib.getExe nushell;
plugin = lib.getExe withChecks;
in
runCommand "test-load-${final.pname}" { } ''
touch $out
${nu} -n -c "plugin add --plugin-config $out ${plugin}"
${nu} -n -c "plugin use --plugin-config $out ${plugin}"
'';
}
);
in
withChecks
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Where would we move this checks? Would we even want to keep them?

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. and removed 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. labels Jan 29, 2026
@VuiMuich VuiMuich marked this pull request as ready for review January 29, 2026 13:13
@Yethal
Copy link
Copy Markdown
Contributor

Yethal commented Jan 29, 2026

If that helps us not lag behind every update I'm all for it

@VuiMuich VuiMuich force-pushed the auto-update/nushell branch from b69291d to 6151c02 Compare January 29, 2026 16:07
@VuiMuich
Copy link
Copy Markdown
Contributor Author

VuiMuich commented Jan 29, 2026

For the prospective inits, we will be expected to change the file location on our respective branches? Just clarifying.

If this PR gets accepted as proposed right now, yes, you would need to move the file location to pkgs/by-name/nu/nushell-plugin-<plugin-name>/package.nix and add an entry in pkgs/top-level/all-packages.nix in the nushellPlugins section.

If some init PR will get merged before this present PR, I will amend it here.

Copy link
Copy Markdown
Contributor

@happysalada happysalada left a comment

Choose a reason for hiding this comment

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

Looks good to me

@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 Jan 29, 2026
desktop_notifications 0.108.0 -> 0.110.0
hcl 0.108.0 -> 0.110.0
highlights 1.4.10+0.108.0 -> 1.4.12+0.110.0
semver 0.11.8 -> 0.11.10
skim 0.20.1 -> 0.22.0
@VuiMuich VuiMuich force-pushed the auto-update/nushell branch from 6151c02 to 4bf45c1 Compare January 30, 2026 07:13
Copy link
Copy Markdown
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

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

Thank you for taking care of it!

@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Jan 30, 2026
@VuiMuich
Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 482961
Commit: 4bf45c17dbc9656fd23102c66dfdc594b31a48b4


x86_64-linux

✅ 18 packages built:
  • bat-extras.batdiff
  • bat-extras.batgrep
  • bat-extras.batman
  • bat-extras.batpipe
  • bat-extras.batwatch
  • bat-extras.core
  • bat-extras.prettybat
  • nushell
  • nushell-plugin-desktop_notifications (nushellPlugins.desktop_notifications)
  • nushell-plugin-formats (nushellPlugins.formats)
  • nushell-plugin-gstat (nushellPlugins.gstat)
  • nushell-plugin-hcl (nushellPlugins.hcl)
  • nushell-plugin-highlight (nushellPlugins.highlight)
  • nushell-plugin-polars (nushellPlugins.polars)
  • nushell-plugin-query (nushellPlugins.query)
  • nushell-plugin-semver (nushellPlugins.semver)
  • nushell-plugin-skim (nushellPlugins.skim)
  • tests.writers.simple.nu

@happysalada happysalada added this pull request to the merge queue Jan 30, 2026
Merged via the queue into NixOS:master with commit 19d9aea Jan 30, 2026
30 of 33 checks passed
@VuiMuich
Copy link
Copy Markdown
Contributor Author

VuiMuich commented Jan 30, 2026

🎉 Thanks for the swift merge!

Now 🤞 for the next version update that bot-merges will work as intended 😀

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.

Is it possible to have gstat = nushell-plugin-gstat; instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Idk, I just know that callPackage either expects a default.nix when only presented a path, or explicitly point to the .nix file.

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

Labels

8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants