1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
{ writeShellApplication, # Dependencies git, gnused, }: writeShellApplication { name = "git-cm"; text = builtins.readFile ./git-cm.sh; # We need access to the $EDITOR inheritPath = true; runtimeInputs = [ git gnused ]; }