Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

dobi: init at 0.8 #20124

Closed
wants to merge 1 commit into from
Closed

dobi: init at 0.8 #20124

wants to merge 1 commit into from

Conversation

vdemeester
Copy link
Member

Motivation for this change

dobi is a build automation tool for Docker applications that I tend to use on several projects.

I have a question though : Is there a way to specify -ldflags with buildGoPackage ? (didn't find it but I might have miss something).

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • OS X
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

馃惛

Signed-off-by: Vincent Demeester vincent@sbr.pm

@mention-bot
Copy link

@vdemeester, thanks for your PR! By analyzing the history of the files in this pull request, we identified @zimbatm, @zraexy and @edolstra to be potential reviewers.

@kamilchm
Copy link
Member

kamilchm commented Nov 3, 2016

You could try to pass -ldflags to buildFlags

@vdemeester
Copy link
Member Author

ooh I missed that one 馃槄 Thanks @kamilchm, I'll do that \o/

Copy link
Member

@fpletz fpletz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This package generates a $out/bin/script binary. What's that used for? It's a very generic name and seems to fail to load some config to generate documentation?

If it's not useful for using dobi, please simply remove it for instance in the postInstall hook.

@vdemeester
Copy link
Member Author

@fpletz updated by adding docs as excluded package (as it's not needed here)

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

buildGoPackage rec {
name = "dobi-${version}";
version = "v0.8";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version strings must begin with a digit. In this case, the package will end up with the name "dobi-v0.8" and no version (see builtins.parseDrvName).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohh 馃槄

@vdemeester vdemeester closed this Apr 20, 2017
@vdemeester vdemeester deleted the add-dobi branch April 20, 2017 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants