-
Notifications
You must be signed in to change notification settings - Fork 721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nix: optimize caching by delaying setGitRev and other nix fixes #4748
Conversation
7bd2a95
to
9101889
Compare
Cross referencing a different stream of thought/work that also tries to deal with "laconic commits" ending up invalidating cache (in that case) via Also https://tvl.fyi uses josh-project to isolate commit trees. I do see a potential future link here for |
75f405e
to
bd1daa1
Compare
aa9522d
to
1791c0c
Compare
could some on mac test that cardan-node static binary in |
a5a0fde
to
d3dd3f5
Compare
other simplification/optimization: - remove generated project-packages-exes.nix (now at eval time) - move rewrite-libs to binary-release.nix: not needed and faster for normal builds - use haskell.nix project overlays to simplify access to components and alternative projects config (profiled, etc.). - filter src to avoid rebuilds for test that depends on $CARDANO_NODE_SRC
and use haskell.nix cabal.
879afe5
to
522bc93
Compare
(This should be FIXME)
Until `after` is properly supported.
522bc93
to
eaff1c9
Compare
bors try |
tryBuild succeeded: |
cace5f9
to
73a2769
Compare
bors r+ |
Build succeeded: |
4778: Nix fixes - 1.35 r=disassembler a=jbgi this is a backport of #4748. Co-authored-by: Jean-Baptiste Giraudeau <[email protected]> Co-authored-by: John Ky <[email protected]> Co-authored-by: Marcin Szamotulski <[email protected]>
4778: Nix fixes - 1.35 r=disassembler a=jbgi this is a backport of #4748. Co-authored-by: Jean-Baptiste Giraudeau <[email protected]> Co-authored-by: John Ky <[email protected]> Co-authored-by: Marcin Szamotulski <[email protected]>
4778: Nix fixes - 1.35 r=disassembler a=jbgi this is a backport of #4748. Co-authored-by: Jean-Baptiste Giraudeau <[email protected]> Co-authored-by: John Ky <[email protected]> Co-authored-by: Marcin Szamotulski <[email protected]>
4778: Nix fixes - 1.35 r=disassembler a=jbgi this is a backport of #4748. Co-authored-by: Jean-Baptiste Giraudeau <[email protected]> Co-authored-by: John Ky <[email protected]> Co-authored-by: Marcin Szamotulski <[email protected]>
other simplification/optimization:
src
With this, lots for derivation become much less sensible to rebuild for unrelated changes. It should also prevent lots of now unnecessary cache downloads, making cicero faster.
Also include a fix for hls (fixing
nix develop
).