Commit Graph

870 Commits

Author SHA1 Message Date
mergify[bot]
37148e01db
Merge pull request #426 from kingarrrt/dogfood
dogfooding: use direnv
2023-11-29 11:20:27 +00:00
Arthur Noel
5fd43d84f1 dogfooding: use direnv 2023-11-29 11:16:27 +00:00
Jörg Thalheim
4dbf3db600 disable remaining failing ruff lints 2023-11-29 08:32:42 +01:00
Jörg Thalheim
d5a10dc6d5 test: other random ruff lints 2023-11-29 08:32:38 +01:00
Jörg Thalheim
8c46f6e97d tests: don't use print in favour of logger 2023-11-29 08:28:52 +01:00
Jörg Thalheim
9ac34be48f test: use builtins for type annotations instead of List / Optional 2023-11-29 08:28:52 +01:00
Jörg Thalheim
26b7fce564 tests: avoid shadowing dir builtin 2023-11-29 08:15:20 +01:00
Jörg Thalheim
ae4a4e8e7c make tests directory a proper python module 2023-11-29 08:14:14 +01:00
Jörg Thalheim
b029dbf2df expand ruff checks to test all 2023-11-29 08:13:31 +01:00
Jörg Thalheim
c748c82c89 drop obsolete setup.cfg 2023-11-29 08:12:48 +01:00
Jörg Thalheim
bf686af698
Merge pull request #424 from nix-community/treefmt
replace lint with treefmt
2023-11-29 07:53:04 +01:00
Jörg Thalheim
ca8df23667 simplify mergify 2023-11-29 07:36:48 +01:00
Jörg Thalheim
037cc9cc25 format with treefmt 2023-11-29 07:34:23 +01:00
Jörg Thalheim
1133b15e75 add treefmt 2023-11-29 07:34:23 +01:00
Jörg Thalheim
6f38bdb647 update fetchurl checksum 2023-11-27 21:22:22 +01:00
Jörg Thalheim
511f6554b3 bump version 2.5.1 2023-11-27 21:22:13 +01:00
mergify[bot]
1e3bd2942e
Merge pull request #421 from nix-community/revert-deprecation
do not deprecate nix_direnv_watch_file yet (2.5.1)
2023-11-27 20:19:33 +00:00
Jörg Thalheim
a59d64917e do not deprecate nix_direnv_watch_file yet
we do this in 3.0.0
2023-11-27 20:19:21 +01:00
mergify[bot]
b2c8ff560e
Merge pull request #418 from nix-community/update_flake_lock_action
flake.lock: Update
2023-11-27 13:41:13 +00:00
mergify[bot]
c5b6ca3a13
Merge branch 'master' into update_flake_lock_action 2023-11-27 13:37:51 +00:00
Bryan Bennett
9a96e30d9a
Merge pull request #417 from kingarrrt/master
_nix_direnv_watches: update path regex to match capitalized path
2023-11-27 08:37:15 -05:00
github-actions[bot]
49b5d65b47 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/51a01a7e5515b469886c120e38db325c96694c2f' (2023-11-21)
  → 'github:NixOS/nixpkgs/0bd59c54ef06bc34eca01e37d689f5e46b3fe2f1' (2023-11-24)
2023-11-27 01:18:17 +00:00
Arthur Noel
647d7feb7f _nix_direnv_watches: update path regex to match capitalized path 2023-11-26 21:06:37 +00:00
Jörg Thalheim
a7fe6f3126 update fetchurl checksum 2023-11-26 14:34:42 +01:00
Jörg Thalheim
c84183c0ac bump version 2.5.0 2023-11-26 14:34:24 +01:00
mergify[bot]
3bc5ef4363
Merge pull request #415 from nix-community/no-grep
drop dependency on gnugrep
2023-11-26 13:32:17 +00:00
mergify[bot]
c33cad83f8
Merge branch 'master' into no-grep 2023-11-26 13:29:01 +00:00
mergify[bot]
e42b6ce275
Merge pull request #416 from nix-community/joerg-ci
drop nix_direnv_watch_file - instead parse DIRENV_WATCHES
2023-11-26 13:28:56 +00:00
mergify[bot]
f559646857
Merge branch 'master' into joerg-ci 2023-11-26 13:25:42 +00:00
Jörg Thalheim
24913b3169
Merge pull request #413 from nix-community/update_flake_lock_action
flake.lock: Update
2023-11-26 14:25:06 +01:00
Jörg Thalheim
946b84daed fix crash if DIRENV_WATCHES is not set
This shouldn't happen in our current usage but better safe than sorry.
2023-11-26 14:19:24 +01:00
Jörg Thalheim
a20b32d9cd drop dependency on jq 2023-11-26 14:03:35 +01:00
Jörg Thalheim
4248f7735b use direnv show_dump to extract direnv watches 2023-11-26 13:15:37 +01:00
Jörg Thalheim
bcba9830e4 drop dependency on gnugrep 2023-11-26 12:32:12 +01:00
Arthur Noel
433948e9ad fix typos 2023-11-25 22:27:58 +00:00
Arthur Noel
6997988d1b drop nix_direnv_watch_file - instead parse DIRENV_WATCHES
fixes #408
2023-11-25 22:27:58 +00:00
github-actions[bot]
6a63fd9c57 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/0bf3f5cf6a98b5d077cdcdb00a6d4b3d92bc78b5' (2023-11-19)
  → 'github:NixOS/nixpkgs/51a01a7e5515b469886c120e38db325c96694c2f' (2023-11-21)
2023-11-23 01:17:48 +00:00
mergify[bot]
7a472ecec6
Merge pull request #411 from nix-community/update_flake_lock_action
flake.lock: Update
2023-11-21 09:24:02 +00:00
mergify[bot]
3ba3ce9bec
Merge branch 'master' into update_flake_lock_action 2023-11-21 09:20:41 +00:00
Jörg Thalheim
9971ece8d9
Merge pull request #410 from nix-community/update-watches
use_nix: watch for both shell.nix and default.nix
2023-11-21 10:20:05 +01:00
github-actions[bot]
6ad5eea7af flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/592047fc9e4f7b74a4dc85d1b9f5243dfe4899e3' (2023-11-15)
  → 'github:NixOS/nixpkgs/0bf3f5cf6a98b5d077cdcdb00a6d4b3d92bc78b5' (2023-11-19)
2023-11-20 01:18:58 +00:00
Jörg Thalheim
da593f3b5e use_nix: watch for both shell.nix and default.nix
In many cases they will shell.nix will depend on default.nix and when a user switches from default.nix to shell.nix we also want to invalidate the cache.

fixes https://github.com/nix-community/nix-direnv/issues/409
2023-11-19 10:45:04 +01:00
Jörg Thalheim
708fe849a8
Merge pull request #404 from nix-community/update_flake_lock_action
flake.lock: Update
2023-11-18 08:50:40 +01:00
mergify[bot]
0a85369dfc
Merge branch 'master' into update_flake_lock_action 2023-11-18 07:49:57 +00:00
Jörg Thalheim
5c941b903e
Merge pull request #407 from infinisil/patch-1
Fix Nix file order docs
2023-11-18 08:49:16 +01:00
Silvan Mosberger
f578994b13
Fix Nix file order
shell.nix file is used first if it exists
2023-11-18 00:19:32 +01:00
github-actions[bot]
01a802c5b7 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ec750fd01963ab6b20ee1f0cb488754e8036d89d' (2023-11-07)
  → 'github:NixOS/nixpkgs/592047fc9e4f7b74a4dc85d1b9f5243dfe4899e3' (2023-11-15)
2023-11-16 01:18:36 +00:00
Jörg Thalheim
9178f71653
Merge pull request #402 from nix-community/update_flake_lock_action
flake.lock: Update
2023-11-11 16:22:52 +01:00
github-actions[bot]
b939c1e2cc flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/90e85bc7c1a6fc0760a94ace129d3a1c61c3d035' (2023-10-29)
  → 'github:NixOS/nixpkgs/ec750fd01963ab6b20ee1f0cb488754e8036d89d' (2023-11-07)
2023-11-09 01:16:30 +00:00
mergify[bot]
28c130b483
Merge pull request #399 from nix-community/update_flake_lock_action
flake.lock: Update
2023-11-01 15:14:50 +00:00