bb010g
9f40e3b1c3
direnvrc: Add nix_direnv_version
...
In the style of direnv's `direnv_version`.
729fbecd96/stdlib.go (L1173-L1179)
Can be tested for with `has`, e.g. to decide on using `source_url`.
2021-05-19 06:47:20 +02:00
Jörg Thalheim
adfca0d26d
update direnv checksum
2021-05-14 08:50:31 +02:00
Jörg Thalheim
1857c3f8ed
bump version 1.2.6
2021-05-14 08:46:30 +02:00
Jörg Thalheim
d29647fa64
update direnvrc checksum
2021-05-09 08:43:08 +02:00
Jörg Thalheim
5b754502ad
bump version 1.2.5
2021-05-09 08:39:02 +02:00
seb314
d8d3c7cd7a
README: mention shell hook setup
2021-04-17 14:27:14 +02:00
Jörg Thalheim
2c87a8d83f
README: update source_url
2021-03-30 12:57:56 +02:00
David Houston
46374a40b4
Add "Nix" tags to 3 Nix code blocks to enable syntax highlighting, add "bash" tag to one.
2021-03-24 19:54:26 -04:00
Olivier Nicole
a90f24191e
Avoid pitfall in home-manager config instructions
...
When I followed the README, direnv did not get hooked into zsh because I had zsh installed at the system level, rather than enabled in my `home-manager` configuration. I suggest you make it explicit that it must be the case for the `home.nix` changes to work.
2021-03-11 16:12:46 +01:00
Jörg Thalheim
04f80bf417
README.md: update source_url
2021-02-16 14:19:53 +01:00
Jörg Thalheim
afe42485d0
re-tested lorri
2021-02-11 10:17:51 +01:00
Jörg Thalheim
5299609865
README: update source_url
2021-01-30 19:49:47 +01:00
Jörg Thalheim
dff7b0bfe9
bump version 1.2.1
2021-01-10 08:46:34 +01:00
Jörg Thalheim
246a0fbe3a
REAMDE: link to other projects, improve evaluation cache invalidation
2021-01-10 08:32:07 +01:00
Jörg Thalheim
a5d469806c
add source_url installation
2020-12-31 07:55:12 +01:00
Jörg Thalheim
e19d62fc02
use_flake: add gcroot for inputs
2020-12-25 17:29:44 +01:00
Jörg Thalheim
b54e2f2c4b
README: fix usuage example
2020-10-25 20:08:08 +00:00
Erik Arvstedt
c9f9be0a46
README: minor formatting/wording fixes
2020-10-24 08:46:43 +02:00
Erik Arvstedt
2aa433e90e
README: fix direnv_layout_dir setup
...
The static setup of `direnv_layout_dir` in `direnvrc` leads to the
creation of separate layout dirs and nix shell caches for each
subdirectory of a project.
Reason: When `direnvrc` is evaluated, `PWD` has the value of the calling
user's shell, instead of pointing to the project directory (the dir containing `.envrc`).
Fix this by dynamically evaluating `$PWD` in a function.
Dynamic evaluation is also required when `.envrc` includes (via `source_*`) `.envrc`
files from other projects because `$PWD` changes in this case.
Cache the computed layout paths because `shasum` is
fairly expensive (13 ms on my desktop system).
2020-10-23 15:30:52 +02:00
DavHau
35f310f1a2
readme: add direnv to systemPackages in configuration.nix
2020-09-26 14:10:55 +07:00
Jörg Thalheim
c28d4ef615
README: restructure installation section
2020-09-26 08:04:10 +02:00
Manu S Ajith
e8c54c3f64
Fix typo in readme. ( #39 )
2020-09-18 16:49:14 +02:00
Jörg Thalheim
682f750d0a
README: update advantages of nix-direnv over lorri
2020-08-15 09:59:01 +01:00
Jörg Thalheim
67eb84ddb5
README: document how to trigger re-evaluation
2020-08-15 09:54:34 +01:00
Jörg Thalheim
666edff7fe
README.md: improve FAQ
2020-08-13 20:53:12 +01:00
Jörg Thalheim
8a397b7eb2
improve documentation for use_flake
2020-08-11 07:08:36 +01:00
Jörg Thalheim
d1bf45b1bf
add usage example
2020-08-10 09:56:24 +01:00
Steve Purcell
9149cf8985
README updates
...
- Make it clearer this is a re-implementation of `use_nix`
- Grammar/spelling fixes
- Clarifications
2020-06-30 08:55:11 +12:00
pca006132
0d42dad65a
updated installation guide for home-manager
2020-06-07 17:32:14 +08:00
Vincent Breitmoser
b22d941231
readme: update home-manager instructions
...
Update readme with a more home-managery way of installing nix-direnv in home-manager.
2020-05-25 23:44:14 +02:00
Jörg Thalheim
268a02754f
update installations instructions
2020-05-11 09:20:15 +01:00
Jörg Thalheim
f29fc205ce
README.md: improve documentation
2020-04-10 13:44:40 +01:00
Jörg Thalheim
82711395ac
README: mention lorri
...
fixes #9
2020-04-09 06:32:05 +01:00
Jörg Thalheim
b366328f74
README.md: add test badge
2020-04-01 16:17:18 +01:00
Jörg Thalheim
e704944ee0
Document compatibility problems
2020-03-11 10:32:13 +00:00
Matt Snider
796db38742
Update README.md with nix.conf changes needed for persistent derivations
...
It appears that the derivations produced by nix-direnv are removed when running nix's garbage collection. Troubleshooting this issue led me to a git issue in the NixOS/nix repo [1]. Enabling both `keep-derivations` and `keep-outputs` worked for me as recommended, and now nix-direnv is working.
[1]: https://github.com/NixOS/nix/issues/2208
2020-03-05 23:37:55 +01:00
Jörg Thalheim
d0dc1479ea
README.md: improve language
2019-09-27 09:06:43 +01:00
Jörg Thalheim
f678ba557b
add direnvrc
2019-09-27 09:03:55 +01:00
Jörg Thalheim
eb393f732a
Initial commit
2019-09-27 08:43:48 +01:00