Closed
Conversation
This branch adds a simple nix-env configuration for building the proxy locally on NixOS. This does *not* yet introduce a derivation for *packaging* the proxy as a Nix package, just a nix-env for local development for Nix users. Actually packaging the proxy for Nix could be fun, but it's not really necessary, since the proxy is not currently distributed as a package for other package managers --- it's distributed as a docker image. If we were going to actually distribute something as a Nix package, it would be the Linkerd CLI (which could be worth doing!). This branch *does* include the necessary configuration to build `cloudflare/boring`, which is added as a dependency by @olix0r's PR #1351. I've confirmed that it is possible to build that branch with these configs, but I opened this as a separate PR against `main` so that we can merge it separately. Currently, we do have to build `boringssl` from source, rather than depending on it from nixpkgs, which is kind of a bummer, but this can be fixed later.
hawkw
added a commit
that referenced
this pull request
Nov 6, 2021
Member
|
Closing this in favor of #1432 |
Contributor
Author
|
fair enough! |
cratelyn
added a commit
to cratelyn/linkerd-nix
that referenced
this pull request
Apr 14, 2025
this is a nix shell for use in development work on linkerd. a hefty tip of the hat to @hawkw for authoring much of this shell originally in linkerd/linkerd2-proxy#1354. 💜💐 see: * https://github.com/linkerd/linkerd2/ * https://github.com/linkerd/linkerd2-proxy/ Co-authored-by: Eliza Weisman <eliza@elizas.website> Signed-off-by: katelyn martin <me+cratelyn@katelyn.world>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This branch adds a simple nix-env configuration for building the proxy
locally on NixOS. This does not yet introduce a derivation for
packaging the proxy as a Nix package, just a nix-env for local
development for Nix users.
Actually packaging the proxy for Nix could be
fun, but it's not really necessary, since the proxy is not currently
distributed as a package for other package managers --- it's distributed
as a docker image. If we were going to actually distribute something as a
Nix package, it would be the Linkerd CLI (which could be worth doing!).
This branch does include the necessary configuration to build
cloudflare/boring, which is added as a dependency by @olix0r'sPR #1351. I've confirmed that it is possible to build that branch with
these configs, but I opened this as a separate PR against
mainso thatwe can merge it separately. Currently, we do have to build
boringsslfrom source, rather than depending on it from nixpkgs, which is kind of
a bummer, but this can be fixed later.