Created
April 27, 2020 12:51
-
-
Save freeman42x/e4f37eb92c4ae851d3aa65f1e0d44ae5 to your computer and use it in GitHub Desktop.
`sudo nixos-rebuild switch` error when installing `oraclejdk`
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
neo@nixos ~> sudo nixos-rebuild switch | |
[sudo] password for neo: | |
building Nix... | |
building the system configuration... | |
these derivations will be built: | |
/nix/store/psx98p1rrfjhdlqmg0y937xgs08yb26z-jdk-8u241-linux-x64.tar.gz.drv | |
/nix/store/lxdaq9q0wbyrxxqqq206h4myvq0l5izw-oraclejdk-8u241.drv | |
/nix/store/fqxm0bbidmi132lg8hq5rfw5kcgjrdbl-system-path.drv | |
/nix/store/10338qrh7vzl5q94shpmi2lqylfr63a9-unit-systemd-fsck-.service.drv | |
/nix/store/19xk2cfg722b8ss0q0476rargypm28fz-unit-polkit.service.drv | |
/nix/store/qrzkn37xy3n7fr5gzinpkkdi66kfdczp-dbus-1.drv | |
/nix/store/5m4nany72p10afvb59dckz49k1v24qhn-unit-dbus.service.drv | |
/nix/store/86lx5qxfyv6hpvah2jx30rncjh0pzq1i-oraclejdk-8u241_fish-completions.drv | |
/nix/store/bmxr81azs3v55gprp4iinpa63bk8byfh-unit-dbus.service.drv | |
/nix/store/hqf0bcjc6rg5al02104260y1xzlnim83-user-units.drv | |
/nix/store/lasyl433wkg392a1i62a6iq79q89p1w9-system_fish-completions.drv | |
/nix/store/ppg092fn39kqsx6dqicfjv9djms64w2z-system-units.drv | |
/nix/store/z5kqdnv6dgkdkhsm4czhm5cx3vsqimyq-etc.drv | |
/nix/store/nx5biiwjn4n3k0cy0b9dns4p3avffh5s-nixos-system-nixos-20.03.1589.9137f05564e.drv | |
building '/nix/store/psx98p1rrfjhdlqmg0y937xgs08yb26z-jdk-8u241-linux-x64.tar.gz.drv'... | |
*** | |
Unfortunately, we cannot download file jdk-8u241-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-8u241-linux-x64.tar.gz | |
or | |
nix-prefetch-url --type sha256 file:///path/to/jdk-8u241-linux-x64.tar.gz | |
*** | |
builder for '/nix/store/psx98p1rrfjhdlqmg0y937xgs08yb26z-jdk-8u241-linux-x64.tar.gz.drv' failed with exit code 1 | |
cannot build derivation '/nix/store/lxdaq9q0wbyrxxqqq206h4myvq0l5izw-oraclejdk-8u241.drv': 1 dependencies couldn't be built | |
cannot build derivation '/nix/store/86lx5qxfyv6hpvah2jx30rncjh0pzq1i-oraclejdk-8u241_fish-completions.drv': 1 dependencies couldn't be built | |
cannot build derivation '/nix/store/fqxm0bbidmi132lg8hq5rfw5kcgjrdbl-system-path.drv': 1 dependencies couldn't be built | |
cannot build derivation '/nix/store/nx5biiwjn4n3k0cy0b9dns4p3avffh5s-nixos-system-nixos-20.03.1589.9137f05564e.drv': 1 dependencies couldn't be built | |
error: build of '/nix/store/nx5biiwjn4n3k0cy0b9dns4p3avffh5s-nixos-system-nixos-20.03.1589.9137f05564e.drv' failed | |
neo@nixos ~> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment