devShell is not being built/tested by CI #383

Closed
opened 2024-06-09 13:42:32 +00:00 by delroth · 3 comments
Member

28a079f841 recently regressed nix develop in a very obvious way and this had to be caught manually after the fact. The CI should at the very least try to eval and build the devShell target.

28a079f841834ac11105ce5762115904d1e40ce1 recently regressed `nix develop` in a very obvious way and this had to be caught manually after the fact. The CI should at the very least try to eval and build the devShell target.
delroth added the
devx
label 2024-06-09 13:48:50 +00:00
Owner

ci task should perhaps be nix develop the target inside a derivation then run a trivial command or like maybe git stuff. the only problem is that nix develop actually creates a new derivation because it's very bad, and so we might have to replicate the "adding -env to the name gratuitously" to make that a cache hit to not require store write access.

ci task should perhaps be nix develop the target inside a derivation then run a trivial command or like maybe git stuff. the only problem is that nix develop actually creates a new derivation because it's very bad, and so we might have to replicate the "adding -env to the name gratuitously" to make that a cache hit to not require store write access.
Owner

At the very least we can test simply evaluating and building the dev shell derivation in hydraJobs. That doesn't test that things in the shell work, but it would have caught this particular regression

At the very least we can test simply evaluating and building the dev shell derivation in hydraJobs. That doesn't test that things in the shell *work*, but it would have caught this particular regression
Member

This issue was mentioned on Gerrit on the following CLs:

  • commit message in cl/1438 ("Check devShells in CI")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/1438", "number": 1438, "kind": "commit message"}], "cl_meta": {"1438": {"change_title": "Check devShells in CI"}}} --> This issue was mentioned on Gerrit on the following CLs: * commit message in [cl/1438](https://gerrit.lix.systems/c/lix/+/1438) ("Check devShells in CI")
lix-project referenced this issue from a commit 2024-06-13 02:50:58 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
4 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/lix#383
No description provided.