summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--].envrc-nix5
-rw-r--r--flake.lock6
-rw-r--r--org/dlang-nix-flakes.org1
-rw-r--r--org/nix-develop-dlang-shared.org17
4 files changed, 22 insertions, 7 deletions
diff --git a/.envrc-nix b/.envrc-nix
index 22d0b54..53e3707 100644..100755
--- a/.envrc-nix
+++ b/.envrc-nix
@@ -1,7 +1,8 @@
+# -*- mode: nix -*-
NIX_ENFORCE_PURITY=1
# - https://github.com/nix-community/nix-direnv
-NixDirEnvVersion="3.0.7"
-NixDirEnvSHA="sha256-bn8WANE5a91RusFmRI7kS751ApelG02nMcwRekC/qzc="
+NixDirEnvVersion="3.1.0"
+NixDirEnvSHA="sha256-yMJ2OVMzrFaDPn7q8nCBZFRYpL/f0RcHzhmw/i6btJM="
if ! has nix_direnv_version || ! nix_direnv_version ${NixDirEnvVersion}; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc" "${NixDirEnvSHA}"
fi
diff --git a/flake.lock b/flake.lock
index a48878d..b53a689 100644
--- a/flake.lock
+++ b/flake.lock
@@ -2,11 +2,11 @@
"nodes": {
"nixpkgs": {
"locked": {
- "lastModified": 1772173633,
- "narHash": "sha256-MOH58F4AIbCkh6qlQcwMycyk5SWvsqnS/TCfnqDlpj4=",
+ "lastModified": 1772674223,
+ "narHash": "sha256-/suKbHSaSmuC9UY7G0VRQ3aO+QKqxAQPQ19wG7QNkF8=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "c0f3d81a7ddbc2b1332be0d8481a672b4f6004d6",
+ "rev": "66d9241e3dc2296726dc522e62dbfe89c7b449f3",
"type": "github"
},
"original": {
diff --git a/org/dlang-nix-flakes.org b/org/dlang-nix-flakes.org
index ccf1202..45616aa 100644
--- a/org/dlang-nix-flakes.org
+++ b/org/dlang-nix-flakes.org
@@ -315,6 +315,7 @@ fi
- ${NixDirEnvVersion}
#+HEADER: :tangle "../.envrc-nix"
+#+HEADER: :shebang "# -*- mode: nix -*-"
#+BEGIN_SRC shell
NIX_ENFORCE_PURITY=1
# - https://github.com/nix-community/nix-direnv
diff --git a/org/nix-develop-dlang-shared.org b/org/nix-develop-dlang-shared.org
index 2d1bb84..696345f 100644
--- a/org/nix-develop-dlang-shared.org
+++ b/org/nix-develop-dlang-shared.org
@@ -27,6 +27,7 @@ check for latest version:
update direnv version and sha hash:
- emacs org/nix-develop-dlang-shared.org
+- direnv fetchurl https://raw.githubusercontent.com/nix-community/nix-direnv/3.1.0/direnvrc
re-tangle file:
@@ -40,16 +41,28 @@ update flake.lock:
#+NAME: direnv-version
#+BEGIN_SRC org
-<<direnv_version_3_0_7>>
+<<direnv_version_3_1_0>>
#+END_SRC
#+NAME: direnv-hash
#+BEGIN_SRC org
-<<direnv_hash_3_0_7>>
+<<direnv_hash_3_1_0>>
#+END_SRC
*** versions
+**** 3.1.0
+
+#+NAME: direnv_version_3_1_0
+#+BEGIN_SRC org
+3.1.0
+#+END_SRC
+
+#+NAME: direnv_hash_3_1_0
+#+BEGIN_SRC org
+sha256-yMJ2OVMzrFaDPn7q8nCBZFRYpL/f0RcHzhmw/i6btJM=
+#+END_SRC
+
**** 3.0.7
#+NAME: direnv_version_3_0_7