Created
June 24, 2020 18:00
-
-
Save pasviegas/25be3a2b91878786be06f0fd1b00cdde 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> { }; | |
let | |
tla = stdenv.mkDerivation { | |
name = "tla"; | |
src = fetchFromGitHub { | |
owner = "pmer"; | |
repo = "tla-bin"; | |
rev = "66c09caa79d1427418e703cf07a5ad7edc72bb96"; | |
sha256 = "1r5h46xj00hc3iigikrwrrmja47bbsmfkbpwmrmf9h6a634l3r0n"; | |
}; | |
propagatedBuildInputs = [ cacert curl ]; | |
installPhase = '' | |
sh download_or_update_tla.sh | |
sh install.sh $out | |
''; | |
}; | |
in mkShell { buildInputs = [ jdk tla ]; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment