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.

set `dontUnpack=true;`

cswimr (Jul 13, 2026, 12:04 PM EDT) 6e340067 059bf15d

+2
+2
mkNuScript.nix
··· 53 53 pkgs.stdenv.mkDerivation { 54 54 pname = name; 55 55 inherit version; 56 + 56 57 src = script; 58 + dontUnpack = true; 57 59 58 60 nativeBuildInputs = [ pkgs.makeWrapper ]; 59 61