Add nix-direnv

This commit is contained in:
Janne Heß
2025-08-02 13:35:58 +02:00
committed by ahuston-0
parent c396bc958f
commit 6eeb08fc0a
3 changed files with 4 additions and 0 deletions

1
.envrc Normal file
View File

@@ -0,0 +1 @@
use flake

1
.gitignore vendored
View File

@@ -1,4 +1,5 @@
*~ *~
/.direnv/
.test_info.* .test_info.*
/src/sql/hydra-postgresql.sql /src/sql/hydra-postgresql.sql
/src/sql/hydra-sqlite.sql /src/sql/hydra-sqlite.sql

View File

@@ -84,6 +84,8 @@ $ mesonConfigurePhase
$ ninja $ ninja
``` ```
The development environment can also automatically be established using [nix-direnv](https://github.com/nix-community/nix-direnv).
### Executing Hydra During Development ### Executing Hydra During Development
When working on new features or bug fixes you need to be able to run Hydra from your working copy. This When working on new features or bug fixes you need to be able to run Hydra from your working copy. This