Skip to content

Instantly share code, notes, and snippets.

@pasviegas
Created June 24, 2020 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pasviegas/25be3a2b91878786be06f0fd1b00cdde to your computer and use it in GitHub Desktop.
Save pasviegas/25be3a2b91878786be06f0fd1b00cdde to your computer and use it in GitHub Desktop.
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