All scripts have been moved to the overlay folder in the top level directory Overlay is now instantiated per configuration to make use of the host variable
10 lines
136 B
Nix
Executable File
10 lines
136 B
Nix
Executable File
{ pkgs }:
|
|
pkgs.writeShellApplication {
|
|
name = "invoke";
|
|
text = ''
|
|
cmd="$1"
|
|
shift
|
|
nix run nixpkgs#"$cmd" -- "$@"
|
|
'';
|
|
}
|