-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
distrobuilder: init at 2018_04_28 #40240
Conversation
, makeWrapper, coreutils, gnupg, gnutar, squashfsTools}: | ||
|
||
buildGoPackage rec { | ||
name = "distrobuilder-unstable-${version}"; |
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 would just call it "distrobuilder-${version}" here. Having the date already shows it's not a stable release.
|
||
goPackagePath = "github.com/lxc/distrobuilder"; | ||
|
||
src = fetchgit { |
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 should use fetchFromGitHub here unless the repo needs submodules.
|
||
buildGoPackage rec { | ||
name = "distrobuilder-unstable-${version}"; | ||
version = "2018-04-28"; |
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 we prefer to use either dashes or dots here. Otherwise upgrading doesn't work correctly.
Implement feedback
@matthewbauer Thank you for the feedback. Updated PR. |
Motivation for this change
Add distrobuilder package.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)