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.

try something else for src

cswimr (Jul 13, 2026, 12:01 PM EDT) edfc2004 0586dba1

+1 -1
+1 -1
mkNuScript.nix
··· 53 53 pkgs.stdenv.mkDerivation { 54 54 pname = name; 55 55 inherit version; 56 - src = script; 56 + src = builtins.path { path = script; }; 57 57 58 58 nativeBuildInputs = [ pkgs.makeWrapper ]; 59 59