Update development environment again #5

Merged
delroth merged 4 commits from ma27/hydra:lix/devenv-fixup into main 2024-08-18 20:52:42 +00:00
Member

With these changes, I have a working dev environment again.

The justfile-part is strongly inspired from what we have in Lix.
Also updated the docs a bit (and finally dropped dev-notes.txt)

Additionally, I added PLS to the check inputs. It's - just as foreman -
not really needed for building, but kinda useful for development
purposes I think. We'll probably build a dedicated dev shell for that
stuff though, but then I'd probably switch to clang so you get clangd
for the C++ part.

cc @delroth (don't know who else to ping, hope that's OK 😅)

With these changes, I have a working dev environment again. The `justfile`-part is strongly inspired from what we have in Lix. Also updated the docs a bit (and finally dropped dev-notes.txt) Additionally, I added `PLS` to the check inputs. It's - just as foreman - not really needed for building, but kinda useful for development purposes I think. We'll probably build a dedicated dev shell for that stuff though, but then I'd probably switch to clang so you get clangd for the C++ part. cc @delroth (don't know who else to ping, hope that's OK 😅)
ma27 added 4 commits 2024-08-18 12:55:53 +00:00
* justfile, inspired from Lix.
* let foreman use the stuff from outputs, similar to what Lix does>
* mess around with PERL5LIB[1] and PATH to get tests running locally.

[1] I don't really know how `Setup` was found before tbh.
Flake lock file updates:

• Updated input 'lix':
    'git+https://git.lix.systems/lix-project/lix?ref=refs/heads/main&rev=5137cea99044d54337e439510a647743110b2d7d' (2024-08-10)
  → 'git+https://git.lix.systems/lix-project/lix?ref=refs/heads/main&rev=278fddc317cf0cf4d3602d0ec0f24d1dd281fadb' (2024-08-17)
• Updated input 'nix-eval-jobs':
    'git+https://git.lix.systems/lix-project/nix-eval-jobs?ref=refs/heads/main&rev=c057494450f2d1420726ddb0bab145a5ff4ddfdd' (2024-07-17)
  → 'git+https://git.lix.systems/lix-project/nix-eval-jobs?ref=refs/heads/main&rev=42a160bce2fd9ffebc3809746bc80cc7208f9b08' (2024-08-13)
• Updated input 'nix-eval-jobs/flake-parts':
    'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7' (2024-07-03)
  → 'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d' (2024-08-01)
• Updated input 'nix-eval-jobs/treefmt-nix':
    'github:numtide/treefmt-nix/0fb28f237f83295b4dd05e342f333b447c097398' (2024-07-15)
  → 'github:numtide/treefmt-nix/349de7bc435bdff37785c2466f054ed1766173be' (2024-08-12)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a781ff33ae258bbcfd4ed6e673860c3e923bf2cc' (2024-08-10)
  → 'github:NixOS/nixpkgs/c3d4ac725177c030b1e289015989da2ad9d56af0' (2024-08-15)
`dev-notes` are severely outdated. I dropped everything except one note
that I moved to hacking.md. The parts about creating users are also
covered elsewhere.

The `update-dbix` part got a just command to make it discoverable again.
Member

Thank you, this is great!

Thank you, this is great!
delroth merged commit e987f74954 into main 2024-08-18 20:52:42 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/hydra#5
No description provided.