Guest User

Untitled

a guest
Jun 23rd, 2020
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. { system ? builtins.currentSystem # TODO: Get rid of this system cruft
  2. , iosSdkVersion ? "10.2"
  3. , withHoogle ? false # to spin up localhost:8080 hoogle use: nix-shell --arg withHoogle true -A shells.ghc --command "hoogle server -p 8080 --local"
  4. }:
  5. with import ./.obelisk/impl { inherit system iosSdkVersion; };
  6.  
  7. let
  8. reflexUtilsSrc = fetchGit {
  9. url = https://github.com/atidot/reflex-utils;
  10. rev = "c3c13716ae53f6fefdddc673640d861e91383c56";
  11. };
  12. reflexCodeMirrorSrc = fetchGit {
  13. url = https://github.com/Atidot/reflex-codemirror;
  14. rev = "b115596528f26a9574d8bc48eb792b32d64abfb4";
  15. };
  16.  
  17. exploitSrc = import ../. {};
  18.  
  19. # exploitSrc = fetchGit {
  20. # url = https://github.com/santiweight/exploit-haskell.git;
  21. # ref = "polysemy";
  22. # };
  23.  
  24. in
  25. project ./. ({ hackGet, ... }: {
  26. inherit withHoogle;
  27. packages = {
  28. reflex-dom-echarts = hackGet ./deps/reflex-dom-echarts;
  29. echarts-jsdom = hackGet ./deps/echarts-jsdom;
  30. reflex-codemirror = reflexCodeMirrorSrc;
  31. # reflex-codemirror = ./deps/reflex-codemirror;
  32. reflex-utils = reflexUtilsSrc;
  33. exploit-poker = exploitSrc;
  34. };
  35. })
Advertisement
Add Comment
Please, Sign In to add comment