This commit is contained in:
parent
f1dbd4168a
commit
2c4e937401
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ pkgs.writeShellApplication {
|
||||||
];
|
];
|
||||||
text = ''
|
text = ''
|
||||||
repo='https://git.lyte.dev/lytedev/nix'
|
repo='https://git.lyte.dev/lytedev/nix'
|
||||||
if [[ -f flake.nix ]]; then
|
if ! [[ -f flake.nix ]]; then
|
||||||
dir="$(mktemp -d)"
|
dir="$(mktemp -d)"
|
||||||
echo "No flake detected. Cloning '$repo' to '$dir/nix'"
|
echo "No flake detected. Cloning '$repo' to '$dir/nix'"
|
||||||
cd "$dir"
|
cd "$dir"
|
||||||
|
|
Loading…
Add table
Reference in a new issue