-
Notifications
You must be signed in to change notification settings - Fork 381
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
Migrate to Nix Flake #4003
Migrate to Nix Flake #4003
Conversation
1023c15
to
e70f474
Compare
Uses magic nix cache for faster results
e70f474
to
0f1dc1a
Compare
BenchmarksBenchmark execution time: 2024-10-22 12:30:31 Comparing candidate commit aebdbd1 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 23 metrics, 2 unstable metrics. |
Also, enforce CPU arch check
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4003 +/- ##
==========================================
- Coverage 97.87% 97.86% -0.01%
==========================================
Files 1313 1313
Lines 78352 78355 +3
Branches 3886 3886
==========================================
+ Hits 76684 76686 +2
- Misses 1668 1669 +1 ☔ View full report in Codecov by Sentry. |
What does this PR do?
Migrate from classic Nix to Nix Flake.
Motivation:
flake.lock
is much more potent than simply pinningpkgs
by commit, likeGemfile.lock
is for Ruby.Additional Notes:
Backwards compatibility with classic
nix-build
andnix-shell
is provided viaflake-compat
shims.How to test the change?
nix flake show --all-systems
nix develop