A simple helper that makes it easy to package Nu scripts with Nix, including inline dependency declarations for external commands and other packaged scripts.
flake nu nushell nix
1

Configure Feed

Select the types of activity you want to include in your feed.

package -> script

cswimr (Jul 13, 2026, 2:07 PM EDT) 40d5d8ad 614448e4

+1 -1
+1 -1
README.md
··· 60 60 Do note that using `inputs`/`self` in a Nu script's external dependencies block will result in an error if you don't pass `inputs`/`self` to `mkNuScript`. 61 61 Unqualified entries, such as `git` and `nix` in the example above, are pulled from the package set passed to `mkNuScript`. This will usually be nixpkgs. 62 62 63 - All declared dependencies are automatically added to the script's `$PATH` when executed, using a wrapper package. 63 + All declared dependencies are automatically added to the script's `$PATH` when executed, using a wrapper script.