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

garden-runc: init at 1.17.1 #60071

Closed
wants to merge 1 commit into from
Closed

Conversation

edude03
Copy link
Contributor

@edude03 edude03 commented Apr 23, 2019

Motivation for this change

Continuing to break up #53691

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option 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 nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@edude03 edude03 marked this pull request as ready for review April 23, 2019 10:42
@risicle
Copy link
Contributor

risicle commented May 6, 2019

Very interesting - I wonder if this could ever lead to cloudfoundry in nixpkgs...

On that note, I realize this originated from a concourse PR, but I'd argue that pkgs/development/tools/continuous-integration isn't really the right place for this package - I think it's most common use is with cloudfoundry. applications/networking/cluster? tools/virtualization?

@dingxiangfei2009 dingxiangfei2009 mentioned this pull request Sep 4, 2019
10 tasks
Copy link
Member

@ryantm ryantm left a comment

Choose a reason for hiding this comment

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

Can you add something to all-packages.nix so this can be referenced in other derivations and installed?

let
version = "1.17.1";

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

Please use fetchFromGitHub because

  1. It is more efficient
  2. It allows us to fix GitHub specific issues


gdn =
stdenv.mkDerivation rec {
name = "garden-runc";
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
name = "garden-runc";
pname = "garden-runc";

{ stdenv, glibc, garden_src }:

stdenv.mkDerivation {
name = "init";
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
name = "init";
pname = "garden-runc-init";

}:

stdenv.mkDerivation {
name = "nstar";
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
name = "nstar";
pname = "garden-runc-nstar";

'';
};
in
runCommand "wrapped-garden-runc" {
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to use makeWrapper in the above derivation instead of this additional wrapper derivation?

@edude03
Copy link
Contributor Author

edude03 commented Jan 14, 2020

Closing because unmaintained

@edude03 edude03 closed this Jan 14, 2020
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

3 participants