Copy shell.nix for remote-git projects
This commit is contained in:
parent
2ec144e902
commit
3be7820be2
|
@ -15,6 +15,7 @@ usage() {
|
||||||
copy_nix_files() {
|
copy_nix_files() {
|
||||||
if [ "$1" = "flake" ]; then
|
if [ "$1" = "flake" ]; then
|
||||||
cp ~/Projects/devenv/flake-template.nix flake.nix
|
cp ~/Projects/devenv/flake-template.nix flake.nix
|
||||||
|
cp ~/Projects/devenv/shell.nix .
|
||||||
elif [ "$1" = "nix-ld" ]; then
|
elif [ "$1" = "nix-ld" ]; then
|
||||||
cp ~/Projects/devenv/nix-ld.nix shell.nix
|
cp ~/Projects/devenv/nix-ld.nix shell.nix
|
||||||
elif [ "$1" = "datasci" ]; then
|
elif [ "$1" = "datasci" ]; then
|
||||||
|
|
Loading…
Reference in New Issue