Support Nix Flakes #546
Labels
No labels
dependencies
difficulty::high
difficulty::low
difficulty::medium
good first issue
help wanted
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
justin/makes#546
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Related:
Useful links:
Examples:
Things to take into account:
I'm just gonna drop here two good reasons not to use flakes yet:
--option xxx yyy,ulimit, etc, you configure to try controlling file descriptor leaks:for some companies like us it's not reasonable to risk reliability on production, the thing must just work, preferably for ever
on Nix stable this
too-many-open-filesdo not happen (downgrading from Flakes was actually the fix to the problem)projectPathor something similar:which means that in a tree like following:
if
whatever-codechanges, then the entireinputs.self.sourceInfo.outPathchanges, and thus./b/c.shchanges, and./b/d.nixmust be build again. This does not happen on Makes using Nix stable because using projectPath you can maked.nixdepend only on the NAR serialization ofbfolder, and changes outside ofbdo not require to rebuildd.nix.Maybe this is the reason why some nix experts are using Bazel to achieve incremental builds?
We achieved incremental builds at Fluid Attacks using nix stable and
projectPathonlyI'm gonna stop working towards Flakes for now
The work done so far serves as a draft on how compatibility with Flakes can be implemented
Unless I'm mistaken this is fixed the next day by
github.com/fluidattacks/makes@2143be2f8f, correct?