diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-12-25 09:13:25 -0500 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-12-25 09:13:25 -0500 |
commit | 9ac49497d2d7b8d843582e1ab7ac4da72b062670 (patch) | |
tree | c3b04769e22698e0ef2c27b268b3cb877914d2cb /direnv | |
parent | 9bf6c80720551443ddc6d1b5df1543a65e7ad954 (diff) |
Drop custom direnv config
This is now supported by direnv `use flake` and `use nix`.
Diffstat (limited to 'direnv')
-rwxr-xr-x | direnv/.config/direnv/direnvrc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/direnv/.config/direnv/direnvrc b/direnv/.config/direnv/direnvrc index 404fb59..e69de29 100755 --- a/direnv/.config/direnv/direnvrc +++ b/direnv/.config/direnv/direnvrc @@ -1,12 +0,0 @@ -use_flake() { - watch_file flake.nix - watch_file flake.lock - eval "$(mkdir -p $(direnv_layout_dir) && nix print-dev-env --profile "$(direnv_layout_dir)/flake-profile" $1)" -} - -use_nix-shell() { - watch_file $1 - mkdir -p $(direnv_layout_dir) - profile="$(direnv_layout_dir)/shell-profile" - eval "$(nix print-dev-env --profile $profile --impure --file $1)" -} |