Created
May 12, 2017 12:42
-
-
Save RobBlackwell/d09dd9e934b3afc9721ae7c2b60cd086 to your computer and use it in GitHub Desktop.
Java on NixOS
This file contains 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
nix-env -iA nixos.oraclejre8 | |
Unfortunately, we cannot download file jdk-8u131-linux-x64.tar.gz automatically. | |
Please go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html to download it yourself, and add it to the Nix store | |
using either | |
nix-store --add-fixed sha256 jdk-8u131-linux-x64.tar.gz | |
or | |
nix-prefetch-url --type sha256 file:///path/to/jdk-8u131-linux-x64.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment