Advertisement
Guest User

Untitled

a guest
Aug 15th, 2019
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. { pkgs ? import <nixpkgs> {} }:
  2.  
  3. with pkgs;
  4.  
  5. stdenv.mkDerivation {
  6.  
  7. name = "idris-async";
  8.  
  9. buildInputs = [
  10. (idrisPackages.with-packages (with idrisPackages; [ contrib pruviloj ]))
  11. gmp
  12. ];
  13.  
  14. src = builtins.fetchGit {
  15. url = https://github.com/conradsnicta/armadillo-code;
  16. rev = "8696c7ef3a7e66e92558b438182b7ee5878f028f";
  17. };
  18.  
  19. buildPhase = ''
  20. idris --build ${src}/idris-async.ipkg
  21. '';
  22.  
  23. installPhase = ''
  24. idris --install ${src}/idris-async.ipkg
  25. '';
  26.  
  27. }
  28.  
  29. stdenv.mkDerivation {
  30. name = "idris-env";
  31.  
  32. buildInputs = [
  33. (idrisPackages.with-packages (with idrisPackages; [ contrib pruviloj vdom ]))
  34. gmp
  35. idris-async
  36. ];
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement