aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/config_env.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2023-10-18 13:34:15 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2023-10-18 13:57:19 -0400
commit62508c09c374e7cb9bd5196a28c28585e451830a (patch)
treeca35046930daacaad13bf34dc2dda42a40fc6c40 /org/config_env.org
parenthousekeeping, perl update (diff)
updates incl. ldc-1.35.0, direnv-2.4.0
Diffstat (limited to 'org/config_env.org')
-rw-r--r--org/config_env.org30
1 files changed, 24 insertions, 6 deletions
diff --git a/org/config_env.org b/org/config_env.org
index 9ded9ef..145160f 100644
--- a/org/config_env.org
+++ b/org/config_env.org
@@ -35,11 +35,14 @@ fi
** .envrc-nix
- https://github.com/nix-community/nix-direnv
- - source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc" "sha256-0000000000000000000000000000000000000000000="
+ - source_url
+ - direnv fetchurl "https://raw.githubusercontent.com/nix-community/nix-direnv/<<direnv-version>>/direnvrc" "<<direnv-sha>>"
+ - ${NixDirEnvVersion}
#+HEADER: :tangle ../.envrc-nix
#+BEGIN_SRC sh
NIX_ENFORCE_PURITY=1
+# - https://github.com/nix-community/nix-direnv
NixDirEnvVersion="<<direnv-version>>"
NixDirEnvSHA="<<direnv-sha>>"
if ! has nix_direnv_version || ! nix_direnv_version ${NixDirEnvVersion}; then
@@ -47,24 +50,39 @@ if ! has nix_direnv_version || ! nix_direnv_version ${NixDirEnvVersion}; then
fi
watch_file flake.lock
watch_file flake.nix
+watch_file shell.nix
watch_file makefile
+watch_file .envrc
watch_file .envrc-local
watch_file .envrc-nix
+nix_direnv_watch_file flake.nix
+nix_direnv_watch_file shell.nix
+nix_direnv_watch_file .envrc
+nix_direnv_watch_file .envrc-local
+nix_direnv_watch_file .envrc-nix
+#nix flake update
+#nix flake check
+echo ""
PATH_add result/bin
-nix flake update
-nix flake check
nix flake show
-use flake .
-#use flake .#default
+#use flake .
#+END_SRC
#+NAME: direnv-version
#+BEGIN_SRC sh
-2.3.0
+2.4.0
#+END_SRC
#+NAME: direnv-sha
#+BEGIN_SRC sh
+sha256-XQzUAvL6pysIJnRJyR7uVpmUSZfc7LSgWQwq/4mBr1U=
+#+END_SRC
+
+#+BEGIN_SRC sh
+2.3.0
+#+END_SRC
+
+#+BEGIN_SRC sh
sha256-Dmd+j63L84wuzgyjITIfSxSD57Tx7v51DMxVZOsiUD8=
#+END_SRC