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
mage: init at 1.7.1 #46407
mage: init at 1.7.1 #46407
Conversation
subPackages = [ "." ]; | ||
|
||
src = fetchFromGitHub { | ||
inherit rev; |
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.
You could use rev = version
instead of declaring rev above.
|
||
# ex: from pkgs/development/tools/dep/default.nix | ||
# buildFlagsArray = ("-ldflags=-s -w -X main.commitHash=${rev} -X main.version=${version}"); | ||
buildFlagsArray = ("-ldflags=-X github.com/magefile/mage/mage.gitTag=${rev}"); |
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.
And use version
here.
@GrahamcOfBorg build mage |
Success on aarch64-linux (full log) Attempted: mage Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: mage Partial log (click to expand)
|
Motivation for this change
add mage, a make-like tool using Go
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)