aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2023-06-28 14:37:51 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2023-06-28 16:23:50 -0400
commit3798d2065cd6b05c0bf9078430fa0551e6b09fdc (patch)
treec962217829fe8b85d1def9f6d2086566c7eeb1fa
parenticon chars, usability / cosmetic minor fix (diff)
nixenv generic set shell from system (from zsh)
-rw-r--r--.envrc-local4
-rw-r--r--makefile4
-rw-r--r--org/config_env.org4
-rw-r--r--org/config_make.org4
-rw-r--r--org/nixpkgs_overlays_d_related.org6
5 files changed, 11 insertions, 11 deletions
diff --git a/.envrc-local b/.envrc-local
index bfa75d7..d56ab09 100644
--- a/.envrc-local
+++ b/.envrc-local
@@ -5,10 +5,10 @@ fi
echo '
.envrc-local echo ❯❯
- ❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c zsh
+ ❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c $SHELL
❯❯ nix develop
- ❯❯ nix develop -c zsh
+ ❯❯ nix develop -c $SHELL
❯❯ nix develop ".#dsh-overlay-ldc" --print-build-logs
❯❯ nix build
diff --git a/makefile b/makefile
index ac0d8c9..970a722 100644
--- a/makefile
+++ b/makefile
@@ -72,8 +72,8 @@ flake-check:
nix flake check; \
echo -e 'nix flake show ❯❯\n'; \
nix flake show; \
- echo -e '\n❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c zsh\n'; \
- echo -e '❯❯ nix develop\n❯❯ nix develop -c zsh\n'; \
+ echo -e '\n❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c $SHELL\n'; \
+ echo -e '❯❯ nix develop\n❯❯ nix develop -c $SHELL\n'; \
echo -e '❯❯ nix build ".#spine-ldc" --print-build-logs |& nom\n❯❯ nix build ".#spine-dmd" --print-build-logs |& nom\n'; \
echo -e '❯❯ make -s\n❯❯ make -s nix-build-ldc\n❯❯ make -s nix-build-dmd\n'; \
echo -e '❯❯ make -s ldc\n❯❯ make -s dmd\n'; \
diff --git a/org/config_env.org b/org/config_env.org
index c9f9407..bbf43fe 100644
--- a/org/config_env.org
+++ b/org/config_env.org
@@ -102,10 +102,10 @@ fi
echo '
.envrc-local echo ❯❯
- ❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c zsh
+ ❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c $SHELL
❯❯ nix develop
- ❯❯ nix develop -c zsh
+ ❯❯ nix develop -c $SHELL
❯❯ nix develop ".#dsh-overlay-ldc" --print-build-logs
❯❯ nix build
diff --git a/org/config_make.org b/org/config_make.org
index 58f58fb..99940c6 100644
--- a/org/config_make.org
+++ b/org/config_make.org
@@ -122,8 +122,8 @@ flake-check:
nix flake check; \
echo -e 'nix flake show ❯❯\n'; \
nix flake show; \
- echo -e '\n❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c zsh\n'; \
- echo -e '❯❯ nix develop\n❯❯ nix develop -c zsh\n'; \
+ echo -e '\n❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c $SHELL\n'; \
+ echo -e '❯❯ nix develop\n❯❯ nix develop -c $SHELL\n'; \
echo -e '❯❯ nix build ".#spine-ldc" --print-build-logs |& nom\n❯❯ nix build ".#spine-dmd" --print-build-logs |& nom\n'; \
echo -e '❯❯ make -s\n❯❯ make -s nix-build-ldc\n❯❯ make -s nix-build-dmd\n'; \
echo -e '❯❯ make -s ldc\n❯❯ make -s dmd\n'; \
diff --git a/org/nixpkgs_overlays_d_related.org b/org/nixpkgs_overlays_d_related.org
index 589f901..5c9dfc0 100644
--- a/org/nixpkgs_overlays_d_related.org
+++ b/org/nixpkgs_overlays_d_related.org
@@ -247,10 +247,10 @@ fi
echo '
.envrc-local echo ❯❯
- ❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c zsh
+ ❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c $SHELL
❯❯ nix develop
- ❯❯ nix develop -c zsh
+ ❯❯ nix develop -c $SHELL
❯❯ nix develop ".#dsh-overlay-ldc" --print-build-logs
❯❯ nix build
@@ -459,7 +459,7 @@ with pkgs;
#echo '
# shell.nix echo ❯❯
- # ❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c zsh
+ # ❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell" -c $SHELL
#'
'';
}