summaryrefslogtreecommitdiffhomepage
path: root/org/nixpkgs_overlays_d_related.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/nixpkgs_overlays_d_related.org')
-rw-r--r--org/nixpkgs_overlays_d_related.org14
1 files changed, 5 insertions, 9 deletions
diff --git a/org/nixpkgs_overlays_d_related.org b/org/nixpkgs_overlays_d_related.org
index 6bd14f5..3a7b545 100644
--- a/org/nixpkgs_overlays_d_related.org
+++ b/org/nixpkgs_overlays_d_related.org
@@ -183,6 +183,7 @@ nix flake update && nix flake check --show-trace && nix flake info && echo "" &&
# find . -name "*.o" | xargs rm -rf
,*
!.gitignore
+!nixDevEnv.sh
!.envrc
!.envrc-local
!.envrc-nix
@@ -214,9 +215,9 @@ tmp/**
#+END_SRC
** .env*
-*** .envrc
+*** nixDevEnv.sh (.envrc)
-#+HEADER: :tangle-NO "../nix-overlays/.envrc"
+#+HEADER: :tangle-NO "../nix-overlays/nixDevEnv.sh"
#+BEGIN_SRC sh
if [ -f .envrc-local ]; then
source_env_if_exists .envrc-local || source .envrc-local
@@ -272,14 +273,9 @@ watch_file flake.lock
watch_file flake.nix
watch_file shell.nix
watch_file makefile
-watch_file .envrc
+watch_file nixDevEnv.sh
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
nix flake show
@@ -305,7 +301,7 @@ use flake .
} @ inputs: let
name = "dev-dub";
shell = ./shell.nix;
- devEnv = ./.envrc;
+ devEnv = ./nixDevEnv.sh; # ./.envrc;
supportedSystems = ["x86_64-linux"];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
nixpkgsFor = forAllSystems (system: import nixpkgs {inherit system;});