-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
garden-runc: init at 1.17.1 #60071
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
Conversation
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 |
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.
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 { |
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.
Please use fetchFromGitHub
because
- It is more efficient
- It allows us to fix GitHub specific issues
|
||
gdn = | ||
stdenv.mkDerivation rec { | ||
name = "garden-runc"; |
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.
name = "garden-runc"; | |
pname = "garden-runc"; |
{ stdenv, glibc, garden_src }: | ||
|
||
stdenv.mkDerivation { | ||
name = "init"; |
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.
name = "init"; | |
pname = "garden-runc-init"; |
}: | ||
|
||
stdenv.mkDerivation { | ||
name = "nstar"; |
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.
name = "nstar"; | |
pname = "garden-runc-nstar"; |
''; | ||
}; | ||
in | ||
runCommand "wrapped-garden-runc" { |
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.
Is it possible to use makeWrapper in the above derivation instead of this additional wrapper derivation?
Closing because unmaintained |
Motivation for this change
Continuing to break up #53691
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)