aboutsummaryrefslogtreecommitdiffhomepage
path: root/.envrc-nix
diff options
context:
space:
mode:
Diffstat (limited to '.envrc-nix')
-rw-r--r--.envrc-nix18
1 files changed, 10 insertions, 8 deletions
diff --git a/.envrc-nix b/.envrc-nix
index 0f5824ce..50551ecc 100644
--- a/.envrc-nix
+++ b/.envrc-nix
@@ -1,7 +1,7 @@
NIX_ENFORCE_PURITY=1
# - https://github.com/nix-community/nix-direnv
-NixDirEnvVersion="3.0.0"
-NixDirEnvSHA="sha256-21TMnI2xWX7HkSTjFFri2UaohXVj854mgvWapWrxRXg="
+NixDirEnvVersion="3.0.7"
+NixDirEnvSHA="sha256-bn8WANE5a91RusFmRI7kS751ApelG02nMcwRekC/qzc="
if ! has nix_direnv_version || ! nix_direnv_version ${NixDirEnvVersion}; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc" "${NixDirEnvSHA}"
fi
@@ -15,17 +15,19 @@ watch_file .envrc-nix
PATH_add result/bin
use flake .
echo "
-- consider running:
+• consider running:
❯❯ nix flake show
❯❯ nix flake update && nix flake check && nix flake show
-- for a dev shell:
+• for a dev shell (development environment):
+
❯❯ nix develop
- ❯❯ nix develop ".#" --print-build-logs -c zsh
- ❯❯ nix develop ".#dsh-latex-pdf" --print-build-logs -c zsh
+ ❯❯ nix develop '.#' --print-build-logs -c zsh
+ ❯❯ nix develop '.#rsh-comprehensive-shell' --print-build-logs -c zsh
+
+• to build project:
-- to build project:
- ❯❯ nix build ".#" --print-build-logs
+ ❯❯ nix build '.#' --print-build-logs
- (see nix other/additional build options):
❯❯ nix flake show
"