Advertisement
DoctorRynerNew

Untitled

Oct 13th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 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. lzma = pkgs.lzma.xz;
  19. shared = ./shared;
  20. };
  21.  
  22. overrides = self: super: let
  23. record-hasfield = pkgs.fetchFromGitHub {
  24. owner = "ndmitchell";
  25. repo = "record-hasfield";
  26. rev = "1a80ab42c5d966b6a439633621f2524c84e93bc5";
  27. sha256 = "1xv9frkbjbnxlyngs9hr5yy9pqw0gy0pqnzbng9crbywwqpbkh7h";
  28. };
  29. record-dot-preprocessor = pkgs.fetchFromGitHub {
  30. owner = "ndmitchell";
  31. repo = "record-dot-preprocessor";
  32. rev = "50590d4474c59a3175d8af943a83de641a6c3c53";
  33. sha256 = "1xv9frkbjbnxlyngs9hr5yy9pqw0gy0pqnzbng9crbywwqpbkh7h";
  34. };
  35. in
  36. {
  37. buildInputs = [ lzma ];
  38. record-hasfield = self.callCabal2nix "record-hasfield" record-hasfield {};
  39. shared = super.shared.overrideAttrs(oa: { buildInputs = oa.buildInputs ++ [ record-dot-preprocessor ]; });
  40. };
  41. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement