Last active
May 8, 2020 10:15
-
-
Save pjstadig/9b161068a8908f840f65934807a29a8f to your computer and use it in GitHub Desktop.
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
with (import <nixpkgs> {}); | |
stdenv.mkDerivation { | |
inherit openjdk11; | |
name = "myopenjdk11"; | |
buildInputs = [ libsodium ]; | |
} |
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 -f myopenjdk11.nix -i | |
installing 'myopenjdk11' | |
these derivations will be built: | |
/nix/store/zpamff38dq03nfm439wnjzhplbsgd44m-myopenjdk11.drv | |
building '/nix/store/zpamff38dq03nfm439wnjzhplbsgd44m-myopenjdk11.drv'... | |
unpacking sources | |
variable $src or $srcs should point to the source | |
builder for '/nix/store/zpamff38dq03nfm439wnjzhplbsgd44m-myopenjdk11.drv' failed with exit code 1 | |
error: build of '/nix/store/zpamff38dq03nfm439wnjzhplbsgd44m-myopenjdk11.drv' failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment