Advertisement
DoctorRynerNew

Untitled

Oct 13th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. { obelisk ? import ./.obelisk/impl {
  2. system = builtins.currentSystem;
  3. iosSdkVersion = "10.2";
  4. # You must accept the Android Software Development Kit License Agreement at
  5. # https://developer.android.com/studio/terms in order to build Android apps.
  6. # Uncomment and set this to `true` to indicate your acceptance:
  7. # config.android_sdk.accept_license = false;
  8. }
  9. }:
  10. with obelisk;
  11. project ./. ({ pkgs, ... }: {
  12. android.applicationId = "systems.obsidian.obelisk.examples.minimal";
  13. android.displayName = "Obelisk Minimal Example";
  14. ios.bundleIdentifier = "systems.obsidian.obelisk.examples.minimal";
  15. ios.bundleName = "Obelisk Minimal Example";
  16.  
  17. packages = {
  18. api = ./api;
  19. };
  20.  
  21. overrides = self: super: let
  22. record-hasfield = pkgs.fetchFromGitHub {
  23. owner = "ndmitchell";
  24. repo = "record-hasfield";
  25. rev = "1a80ab42c5d966b6a439633621f2524c84e93bc5";
  26. sha256 = "1xv9frkbjbnxlyngs9hr5yy9pqw0gy0pqnzbng9crbywwqpbkh7h";
  27. };
  28. record-dot-preprocessor = pkgs.fetchFromGitHub {
  29. owner = "ndmitchell";
  30. repo = "record-dot-preprocessor";
  31. rev = "50590d4474c59a3175d8af943a83de641a6c3c53";
  32. sha256 = "1ywxwnhixic63n7c5wgky7dws33bb5949nqfh9miaim6l5rz56v4";
  33. };
  34. in
  35. {
  36. record-hasfield = self.callCabal2nix "record-hasfield" record-hasfield {};
  37. record-dot-preprocessor = self.callCabal2nix "record-dot-preprocessor" record-dot-preprocessor {};
  38. api = super.api.overrideAttrs(oa: { buildInputs = oa.buildInputs ++ [ lzma ]; });
  39. };
  40. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement