Select the types of activity you want to include in your feed.
A simple helper that makes it easy to package Nu scripts with Nix, including inline dependency declarations for external commands and other packaged scripts.
···5656```
57575858Dependencies beginning with `inputs` are resolved from the `inputs` argument passed to `mkNuScript`. For example, `inputs.niks3.niks3` is equivalent to`inputs.niks3.packages.${pkgs.stdenv.hostPlatform.system}.niks3`. The `system` and `packages` attribute are automatically inserted.
5959-`self` works the same as `inputs`, but refers to the consuming flake. So, if you have a package you want to reuse in your Nu scripts that you declare in your flake, you can use this to refer to it. Do note that using `self` in a Nu script's external dependencies block will result in an error if you don't pass `self` to `mkNuScript`.
5959+`self` works the same as `inputs`, but refers to the consuming flake. So, if you have a package you want to reuse in your Nu scripts that you declare in your flake, you can use this to refer to it.
6060+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`.
6061Unqualified entries, such as `git` and `nix` in the example above, are pulled from the package set passed to `mkNuScript`. This will usually be nixpkgs.
61626263All declared dependencies are automatically added to the script's `$PATH` when executed, using a wrapper package.