Fix meson and ninja commands and link bootstrap

This commit is contained in:
Janne Heß
2025-08-02 13:41:39 +02:00
committed by ahuston-0
parent 6eeb08fc0a
commit f9d7629f95
2 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View File

@@ -1,6 +1,7 @@
*~ *~
/.direnv/ /.direnv/
.test_info.* .test_info.*
/src/root/static/bootstrap
/src/sql/hydra-postgresql.sql /src/sql/hydra-postgresql.sql
/src/sql/hydra-sqlite.sql /src/sql/hydra-sqlite.sql
/src/sql/tmp.sqlite /src/sql/tmp.sqlite

View File

@@ -80,8 +80,9 @@ $ nix build
You can use the provided shell.nix to get a working development environment: You can use the provided shell.nix to get a working development environment:
``` ```
$ nix develop $ nix develop
$ mesonConfigurePhase $ ln -svf ../../../build/src/bootstrap src/root/static/bootstrap
$ ninja $ meson setup build
$ ninja -C build
``` ```
The development environment can also automatically be established using [nix-direnv](https://github.com/nix-community/nix-direnv). The development environment can also automatically be established using [nix-direnv](https://github.com/nix-community/nix-direnv).