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
Add dnscrypt-proxy2 package. #43227
Add dnscrypt-proxy2 package. #43227
Conversation
6f71796
to
638b5b2
Compare
638b5b2
to
7678663
Compare
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.
Looks good to me.
Should we keep the old version at all? It does not seem that it is maintained. |
@GrahamcOfBorg build dnscrypt-proxy2 |
Success on x86_64-linux (full log) Attempted: dnscrypt-proxy2 Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: dnscrypt-proxy2 Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: dnscrypt-proxy2 Partial log (click to expand)
|
@@ -0,0 +1,26 @@ | |||
{ stdenv, buildGoPackage, fetchFromGitHub, go }: |
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.
I don't think you need go here
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.
Okay, I'm trying to rebuild without it but removing it doesn't seem to invalidate the already-built binary.
Isn't it standard to use a |
@Mic92 There's a nixos module and tests |
Do you have a link to what the expected contents of Also, for what it's worth I didn't see anything like this in the package whose example I was largely mimicking for this PR: https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/version-management/git-and-tools/hub |
sha256 = "0iwvndk1h550zmwhwablb0smv9n2l51hqbmzj354mcgi6frnx819"; | ||
}; | ||
|
||
enableParallelBuilding = true; |
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.
no need to set this as it's default
, enableParallelBuilding ? true |
* The 'go' input parameter is apparently unnecessary. * The 'enableParallelBuilding' setting is apparently true by default.
Thank you |
See also #43298 |
I am adding a new package instead of simply bumping the version of the old one for two reasons:
I was reading some blog posts about encrypted DNS which recommended the 2.x series of dnscrypt rather than the 1.x. I also wanted an excuse to make my first contribution to this repository.
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)