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

rocker: init at 1.3.0 #24966

Closed
wants to merge 1 commit into from
Closed

Conversation

NeQuissimus
Copy link
Member

Motivation for this change

Add the tool to nixpkgs. I need to do some fancy things with Docker :)

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
    • 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.

src = fetchurl {
url = "https://github.com/grammarly/rocker/releases/download/${version}/rocker_linux_amd64.tar.gz";
sha256 = "0jcxphkarzicxif2virdr7d7kym0961ca5l59cxmaqxa46l6k5x0";
};
Copy link
Member

Choose a reason for hiding this comment

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

What was the reason for not using go2nix to build a go package from source?

mkdir -p {$bin,$out}
mv rocker $bin/rocker
chmod +x $bin/rocker
ln -s $bin $out/bin
Copy link
Member

Choose a reason for hiding this comment

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

What is the purpose of this extra bin output?

@NeQuissimus
Copy link
Member Author

I will make some changes, this was the quickest way for me to get to using the tool locally :)

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

2 participants