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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lego: init at unstable-2018-02-02 #34830

Merged
merged 1 commit into from Feb 12, 2018
Merged

Conversation

andrew-d
Copy link
Contributor

@andrew-d andrew-d commented Feb 11, 2018

Motivation for this change

Adding lego, a Let's Encrypt client that supports DNS-based challenges with a variety of providers.

Dependencies were generated with go2nix today (2018-02-10).

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
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • 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.

Copy link
Member

@nlewo nlewo left a comment

Choose a reason for hiding this comment

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

Just some minor comments


buildGoPackage rec {
name = "lego-${version}";
version = "0.4.2-pre-${lib.strings.substring 0 7 rev}";
Copy link
Member

Choose a reason for hiding this comment

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

Since this revision is not released, can you please use for the version, the format unstable-YYYY-MM-DD as specified in https://nixos.org/nixpkgs/manual/#sec-package-naming

version = "0.4.2-pre-${lib.strings.substring 0 7 rev}";
rev = "06a8e7c475c03ef8d4773284ac63357d2810601b";

src = fetchgit {
Copy link
Member

Choose a reason for hiding this comment

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

Can you please use fetchFromGitHub


goPackagePath = "github.com/xenolf/lego";
goDeps = ./deps.nix;
subPackages = [ "." ];
Copy link
Member

Choose a reason for hiding this comment

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

This is useless I guess

@andrew-d
Copy link
Contributor Author

@nlewo - Thanks for the prompt feedback! Just pushed another commit with my updates; do you want me to squash it into the original commit?

@andrew-d andrew-d changed the title lego: init at 0.4.2-pre lego: init at unstable-2018-02-02 Feb 11, 2018
Copy link
Member

@nlewo nlewo left a comment

Choose a reason for hiding this comment

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

Thanks for your changes. You can squash your commits.

@andrew-d
Copy link
Contributor Author

@nlewo - Done!

@adisbladis
Copy link
Member

@GrahamcOfBorg build lego

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Partial log (click to expand)

shrinking /nix/store/mj9szsr7qd8xpp8zq9mcr9l3c8g3fb5b-lego-unstable-2018-02-02-bin/bin/lego
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/mj9szsr7qd8xpp8zq9mcr9l3c8g3fb5b-lego-unstable-2018-02-02-bin/bin 
patching script interpreter paths in /nix/store/mj9szsr7qd8xpp8zq9mcr9l3c8g3fb5b-lego-unstable-2018-02-02-bin
checking for references to /tmp/nix-build-lego-unstable-2018-02-02.drv-0 in /nix/store/mj9szsr7qd8xpp8zq9mcr9l3c8g3fb5b-lego-unstable-2018-02-02-bin...
shrinking RPATHs of ELF executables and libraries in /nix/store/7c8qknb6xk6cm3zhj5zwcphs44j8676n-lego-unstable-2018-02-02
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/7c8qknb6xk6cm3zhj5zwcphs44j8676n-lego-unstable-2018-02-02
checking for references to /tmp/nix-build-lego-unstable-2018-02-02.drv-0 in /nix/store/7c8qknb6xk6cm3zhj5zwcphs44j8676n-lego-unstable-2018-02-02...
/nix/store/mj9szsr7qd8xpp8zq9mcr9l3c8g3fb5b-lego-unstable-2018-02-02-bin

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Partial log (click to expand)

shrinking /nix/store/5h3x3bj03m5fjm2r59m1mi7zawdh7frj-lego-unstable-2018-02-02-bin/bin/lego
strip is /nix/store/xmpjypwjmp2qi1chs5kr0hacnh161ls4-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/5h3x3bj03m5fjm2r59m1mi7zawdh7frj-lego-unstable-2018-02-02-bin/bin
patching script interpreter paths in /nix/store/5h3x3bj03m5fjm2r59m1mi7zawdh7frj-lego-unstable-2018-02-02-bin
checking for references to /build in /nix/store/5h3x3bj03m5fjm2r59m1mi7zawdh7frj-lego-unstable-2018-02-02-bin...
shrinking RPATHs of ELF executables and libraries in /nix/store/zbwp26016qimvp9df8cbb7baw3k2qcyl-lego-unstable-2018-02-02
strip is /nix/store/xmpjypwjmp2qi1chs5kr0hacnh161ls4-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/zbwp26016qimvp9df8cbb7baw3k2qcyl-lego-unstable-2018-02-02
checking for references to /build in /nix/store/zbwp26016qimvp9df8cbb7baw3k2qcyl-lego-unstable-2018-02-02...
/nix/store/5h3x3bj03m5fjm2r59m1mi7zawdh7frj-lego-unstable-2018-02-02-bin

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Partial log (click to expand)

installing
/private/tmp/nix-build-lego-unstable-2018-02-02.drv-0/go /private/tmp/nix-build-lego-unstable-2018-02-02.drv-0
/private/tmp/nix-build-lego-unstable-2018-02-02.drv-0
post-installation fixup
strip is /nix/store/5a88zk3jgimdmzg8rfhvm93kxib3njf9-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/ilvw3p0p73nb1mixf2y7zba9842vc5cx-lego-unstable-2018-02-02-bin/bin
patching script interpreter paths in /nix/store/ilvw3p0p73nb1mixf2y7zba9842vc5cx-lego-unstable-2018-02-02-bin
strip is /nix/store/5a88zk3jgimdmzg8rfhvm93kxib3njf9-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/733kh5zizbj1gn2nx6zgf21cqv5iqb5p-lego-unstable-2018-02-02
/nix/store/ilvw3p0p73nb1mixf2y7zba9842vc5cx-lego-unstable-2018-02-02-bin

@adisbladis adisbladis merged commit 0fb2ac4 into NixOS:master Feb 12, 2018
@andrew-d
Copy link
Contributor Author

@adisbladis - Thank you very much! 😀

@andrew-d andrew-d deleted the adunham/lego branch February 12, 2018 03:35
@adisbladis
Copy link
Member

@andrew-d Thank you :)

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

4 participants