-
-
Save lukegb/875b56d4628e98100fe3cff16c3a0167 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
{ pkgs, ... }: | |
(pkgs.buildFHSUserEnv { | |
name = "javaws-env"; | |
targetPkgs = pkgs: (with pkgs; | |
[ | |
adoptopenjdk-icedtea-web | |
]); | |
runScript = "bash"; | |
}).env |
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
#!/usr/bin/env bash | |
set -eu | |
echo javaws "$@" | nix-shell '<depot>' -A nix.pkgs.javaws-env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment