[WIP] Flakes #45

Open
astro wants to merge 12 commits from astro/nix-scripts:flakes into master
astro commented 4 months ago
Collaborator

(Finding solutions to #32.) Here's a first preview that kind of works.

Problems with flakification:

  • This approach reuses the existing artiq-fast/artiq-full to keep
    duplicated code small. Due to our hacks, even nix flake show takes
    ages until all the artiq-board-generated packages have built. We
    cannot keep this for Flakes.

  • A flake's package attrset is flat. It does not allow for
    hierarchies. To recreate one for the beta/release/legacy branches, a
    solution would be to place flake.{nix,lock} in subdirectories.

  • No preparations for Flakes-Hydra yet. We will need to separate
    packages into artiq-fast/artiq-full again. It makes sense to solve
    the former two problems first.

(Finding solutions to #32.) Here's a first preview that kind of works. Problems with flakification: * This approach reuses the existing artiq-fast/artiq-full to keep duplicated code small. Due to our hacks, even `nix flake show` takes ages until all the artiq-board-generated packages have built. We cannot keep this for Flakes. * A flake's package attrset is flat. It does not allow for hierarchies. To recreate one for the beta/release/legacy branches, a solution would be to place `flake.{nix,lock}` in subdirectories. * No preparations for Flakes-Hydra yet. We will need to separate packages into artiq-fast/artiq-full again. It makes sense to solve the former two problems first.
astro added 6 commits 4 months ago
Owner

Is Hydra able to generate and appropriately publish the flake.lock files?

Is Hydra able to generate and appropriately publish the flake.lock files?
astro added 3 commits 3 months ago
astro added 1 commit 3 months ago
astro added 1 commit 3 months ago
astro added 1 commit 3 months ago
astro added 1 commit 3 months ago
astro force-pushed flakes from e603a876b2 to 3d825116e2 3 months ago
This pull request has changes conflicting with the target branch.
artiq-fast/pkgs/llvm-or1k.nix
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.