Advertisement
DoctorRynerNew

Untitled

Oct 18th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. { obelisk ? import ./.obelisk/impl {
  2. system = builtins.currentSystem;
  3. iosSdkVersion = "10.2";
  4. config.android_sdk.accept_license = true;
  5. }
  6. }:
  7. with obelisk;
  8. project ./. ({ pkgs, ... }: {
  9. android.applicationId = "systems.obsidian.obelisk.examples.minimal";
  10. android.displayName = "Obelisk Minimal Example";
  11. ios.bundleIdentifier = "systems.obsidian.obelisk.examples.minimal";
  12. ios.bundleName = "Obelisk Minimal Example";
  13.  
  14. packages = {
  15. api = ./api;
  16. };
  17.  
  18. overrides = self: super: let
  19. record-hasfield = pkgs.fetchFromGitHub {
  20. owner = "ndmitchell";
  21. repo = "record-hasfield";
  22. rev = "1a80ab42c5d966b6a439633621f2524c84e93bc5";
  23. sha256 = "1xv9frkbjbnxlyngs9hr5yy9pqw0gy0pqnzbng9crbywwqpbkh7h";
  24. };
  25. record-dot-preprocessor = pkgs.fetchFromGitHub {
  26. owner = "ndmitchell";
  27. repo = "record-dot-preprocessor";
  28. rev = "50590d4474c59a3175d8af943a83de641a6c3c53";
  29. sha256 = "1ywxwnhixic63n7c5wgky7dws33bb5949nqfh9miaim6l5rz56v4";
  30. };
  31. xz = pkgs.fetchFromGitHub {
  32. owner = "xz-mirror";
  33. repo = "xz";
  34. rev = "de1f47b2b40e960b7bc3acba754f66dd19705921";
  35. sha256 = "1ywxwnhixic63n7c5wgky7dws33bb5949nqfh9miaim6l5rz66v4";
  36. };
  37. clay = pkgs.fetchFromGitHub {
  38. owner = "sebastiaanvisser";
  39. repo = "clay";
  40. rev = "2795065ecf671b91382aa2bfff18d826037798b5";
  41. sha256 = "1hqzm8vqvxj0ik6l52mr4vhn7jia4i4ynky4m6219wf6z608rzrj";
  42. };
  43. in
  44. {
  45. record-hasfield = self.callCabal2nix "record-hasfield" record-hasfield {};
  46. record-dot-preprocessor = self.callCabal2nix "record-dot-preprocessor" record-dot-preprocessor {};
  47. clay = self.callCabal2nix "clay" clay {};
  48. api = super.api.overrideAttrs(oa: { buildInputs = oa.buildInputs ++ [ pkgs.lzma ]; });
  49.  
  50. haskellPackages = pkgs.haskellPackages.override {
  51. overrides = self: super: {
  52. clay = pkgs.haskell.lib.dontCheck super.clay;
  53. };
  54. };
  55.  
  56. };
  57. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement