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
nix-env -i firefox provides invalid download link for SDK #30735
Comments
Hmm... I'm pretty sure firefox does not depend on Oracle's JDK. In fact, it doesn't depend on any JDK. Something else is going on. That message is produced by the Oracle JDK package. You can see it here in the call to
|
Of course, you are talking about this:
which explains why I was wrong and there is no egg-chicken problem, but, still does not solve the main issue. I have also ended up in searching manually the required file, and Google gave me http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html?printOnly=1 ... which still does not really solve the bug: nix-env provides an invalid link. But this archive link could help you fixing it, and develop a long term workaround. |
The fix for the URL was merged 7 days ago: #30536 It's in the Nixpkgs unstable channel right now, so you should have access to it: NixOS/nixpkgs-channels@f11948d |
Moving this bug to NixOS/nixpkgs from NixOS/nix NixOS/nix#1628
I am NIX beginner.
My aim: update Firefox.
What I typed:
Result:
I hate this problem, but, I know Oracle is very boring about direct download, and nobody ever could workaround this legal issue (especially, I also have it in Gentoo). So, let's hope my old version of Firefox still functions, let's hope that on fresh install it's possible to either use an other browser to download the file, or have a light Firefox to download this dep. => needing a browser to install a browser can quickly become an egg-chicken issue.
The big issue I have met here is that, as of today, october 23rd 2017, the given link to oracle website only offers me SDK 151 and 152; what means, if I download them ... nix-store won't be able to put the file where it's expected, and the dep will remain unsatisfied.
Several solutions:
Technical details
nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
)error: getting status of â/home/dhp/firefoxâ: No such file or directory
grep build-use-sandbox /etc/nix/nix.conf
)returned error 2
The text was updated successfully, but these errors were encountered: