Jörg Thalheim
9b5b553521
improve tests
2020-04-11 22:12:03 +01:00
Jörg Thalheim
c73420268c
set keep-outputs/keep-derivations to nix.conf
2020-04-11 22:09:48 +01:00
Jörg Thalheim
d2d121de14
use USER instead of LOGNAME
...
it looks like $LOGNAME is not set in our CI?
2020-04-11 20:41:01 +01:00
Jörg Thalheim
16ae21c9a6
fix persistent derivation link
...
a95abd152a
broke this
2020-04-11 20:33:51 +01:00
Jörg Thalheim
063d43483e
Merge pull request #13 from nix-community/direnv-layout-dir
...
Improve documentation.
2020-04-10 13:49:04 +01:00
Jörg Thalheim
f29fc205ce
README.md: improve documentation
2020-04-10 13:44:40 +01:00
Jörg Thalheim
a95abd152a
direnv_layout_dir is actually a function
2020-04-10 13:36:45 +01:00
Jörg Thalheim
546379f063
Merge pull request #12 from nix-community/direnv-layout-dir
...
Respect direnv-layout-dir
2020-04-10 13:25:50 +01:00
Jörg Thalheim
ae191f0cd4
Respect direnv-layout-dir
...
fixes #11
2020-04-10 10:57:02 +01:00
Jörg Thalheim
82711395ac
README: mention lorri
...
fixes #9
2020-04-09 06:32:05 +01:00
Jörg Thalheim
a73dd8e640
Merge pull request #10 from crabtw/master
...
Fix nix-instantiate substituted path
2020-04-09 06:22:03 +01:00
Jyun-Yan You
35938798d8
Fix nix-instantiate substituted path
2020-04-09 12:05:23 +08:00
Jörg Thalheim
97ed44cc73
Merge pull request #8 from nix-community/tests
...
Tests
2020-04-01 16:17:51 +01:00
Jörg Thalheim
b366328f74
README.md: add test badge
2020-04-01 16:17:18 +01:00
Jörg Thalheim
862b772839
add tests
2020-04-01 16:12:48 +01:00
Jörg Thalheim
ea7c07e783
replace shebang by shellcheck directive
2020-04-01 16:08:58 +01:00
Jörg Thalheim
e7fce0da51
shellcheck fixes
2020-04-01 14:50:29 +01:00
Jörg Thalheim
6b4c1f64f7
Merge pull request #7 from lrworth/master
...
Restore (NIX_)SSL_CERT_FILE to original value
2020-04-01 14:36:41 +01:00
Luke Worth
12f05b10ac
Restore (NIX_)SSL_CERT_FILE to original value
2020-04-01 11:39:31 +11:00
Jörg Thalheim
ea98d4112d
Merge pull request #4 from nix-community/docs
...
Document compatibility problems
2020-03-11 12:11:07 +00:00
Jörg Thalheim
e704944ee0
Document compatibility problems
2020-03-11 10:32:13 +00:00
Jörg Thalheim
81d3f5083a
Merge pull request #2 from matt-snider/patch-1
...
Update README.md with nix.conf changes needed for persistent derivations
2020-03-06 09:37:16 +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
5a91446000
Fix TMPDIR backup ( #1 )
...
This was clearing TMPDIR since it was first not setting the
`tmp_backup` local variable, and then, since `tmp_backup` was null, it
was unsetting TMPDIR.
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2020-03-05 07:33:06 +00:00
Jörg Thalheim
f988975869
fix broken eval a second time
2019-10-23 14:09:01 +01:00
Jörg Thalheim
9ce7643b1b
make shell-check happy
2019-10-21 15:05:15 +01:00
Jörg Thalheim
28854ee129
fix evaluation of nix env
...
read seems to do weird stuff when reading from a file
2019-10-21 14:45:42 +01:00
Jörg Thalheim
292d43a005
improve performance by reducing subshells
...
forking is somewhat slow
2019-10-18 12:53:44 +00:00
Jörg Thalheim
ea257f1130
make nixpkgs git detection a wee bit more precise
2019-10-18 12:37:54 +00:00
Jörg Thalheim
983f7b8154
fix dereferencing git HEAD
2019-10-18 12:33:38 +00:00
Jörg Thalheim
e7df598cd0
fix environment variable dump extraction
...
Grep does not work across multiple lines.
However the output of direnv is on a single anyway.
2019-09-30 17:15:28 +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