-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Add --reference-lock-file to mirror nix 1.15.0 feature #210
Conversation
Flake lock file updates: • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/dcc36e45d054d7bb554c9cdab69093debd91a0b5' (2023-04-01) → 'github:hercules-ci/flake-parts/006c75898cf814ef9497252b022e91c946ba8e17' (2023-05-08) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/1a9d9175ecc48ecd033062fa09b1834d13ae9c69' (2023-04-13) → 'github:NixOS/nixpkgs/ff79501f458bcb4aa3633f3d1cc599a080b14e21' (2023-05-11)
@@ -101,6 +102,11 @@ struct MyArgs : MixEvalArgs, MixCommonArgs { | |||
addFlag({.longName = "flake", | |||
.description = "build a flake", | |||
.handler = {&flake, true}}); | |||
|
|||
addFlag({.longName = "reference-lock-file", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Please also update the README.
@@ -43,6 +43,7 @@ using namespace nlohmann; | |||
struct MyArgs : MixEvalArgs, MixCommonArgs { | |||
std::string releaseExpr; | |||
Path gcRootsDir; | |||
Path referenceLockFilePath; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Path referenceLockFilePath; | |
std::optional<std::string> referenceLockFilePath; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually just see https://github.com/colemickens/nix-eval-jobs/pull/1/files instead.
This allows to override more flake lock flags later
macos build failures are unrelated. |
move lockFlags to myArgs
I added your commit. Initial testing... is not working though.
|
This pull request seems to be stalled. Please re-open if you intend to continue working on this. |
Fixes #209 by adding
--reference-lock-file
to the CLI.Still testing, so draft.