-
-
Notifications
You must be signed in to change notification settings - Fork 14k
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
task-keeper: init at 0.12.2 #236516
base: master
Are you sure you want to change the base?
task-keeper: init at 0.12.2 #236516
Conversation
I realized that this pattern is well-known and works :) better than using a fork
Also: - moved back to my fork (until the PR is merged: linux-china/task-keeper#5) - removed the Cargo.lock, which is now part of the repo - set `meta.mainProgram` correctly
}; | ||
|
||
cargoLock = { | ||
lockFile = "${src}/Cargo.lock"; |
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.
the lockfile has to be copied to nixpkgs, unfortunately
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.
Why? Isn't it deterministic because it is referenced by git commit and hash?
I am using my fork as the source repo which has the lockfile... 🤔
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.
I think it's because lockFile
can't be evaluated without downloading the source. This sort of trickery isn't allowed in nixpkgs. See https://github.com/NixOS/nixpkgs/tree/master/pkgs#import-from-derivation
Co-authored-by: Arne Keller <[email protected]>
Description of changes
New package: task-keeper
tk(Task Keeper) is a tool to manage tasks from different task files, such as Makefile,justfile, package.json , deno.jso, .fleet/run.json etc, and call tasks from different project management tools, such as Apache Maven, Gradle, Cargo and npm etc.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)