-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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 sstp client. #6064
Add sstp client. #6064
Conversation
No in fact you should be adding |
IMHO the current solution in
version, but that's a matter of taste. |
@peti he used both, so just use one of the two :) |
@lethalman, I'm not sure what you mean? As far as I can tell, the expression sets the |
@peti I mean he's using also |
Ah, you are right. The current expression works fine, but still it's nice to have all configure definitions in one place. |
I've amended the commit to use $(out) in configureFlags (BTW - why does this work when $out doesn't?) |
|
@lethalman that's strange - I've just removed that path and forced a rebuild, and it still worked. Is it possible that sourceforge serves us different files? |
Because $out is effectively escaped (prevented from being interpreted as |
@ktosiek uhm possible |
This is on commit 99c0af0 (same as proposed here), git status shows no local changes.
It downloaded sstp from http://prdownloads.sourceforge.net/sstp-client/sstp-client/1.0.9/sstp-client-1.0.9.tar.gz (creating the /nix/store/4shvfgcafmjs3l2gvzy2n68rn82lga51-sstp-client-1.0.9.tar.gz path again), and built sstp. I've also tried:
@lethalman can you compare this with your downloaded file? I have no idea why the hash might be different for you :-< |
Ok works now, don't know what happened before, but I think it's some sourceforge mirror problem. Built locally, thanks. |
This adds sstp-client - VPN client for Microsoft's SSTP protocol. I've tested this with my job VPN, and it works without problems.
One thing I'm not sure about in the expression is extending configureFlags in preConfigure, but just adding a flag with "$out" to the configureFlags attribute didn't work (it seems like literal "$out" was passed in the ./configure arguments) - is there some better way to do this?