2, local-self ? import ./. self-args
6 inherit (local-self.nixpkgs) lib runCommand nix;
8 cacheBuildSystems = [ "x86_64-linux" "x86_64-darwin" ];
10 obeliskPackagesCommon = [
13 "obelisk-executable-config-lookup"
16 obeliskPackagesBackend = obeliskPackagesCommon ++ [
17 "obelisk-asset-manifest"
18 "obelisk-asset-serve-snap"
22 "obelisk-executable-config-inject"
30 pnameToAttrs = pkgsSet: pnames:
32 (name: { inherit name; value = pkgsSet.${name}; })
36 extractDeps = x: (x.override {
38 out = builtins.concatLists [
39 (drv.buildDepends or [])
40 (drv.libraryHaskellDepends or [])
41 (drv.executableHaskellDepends or [])
45 in pkgAttrs: builtins.concatLists (map extractDeps (builtins.attrValues pkgAttrs));
47 perPlatform = lib.genAttrs cacheBuildSystems (system: let
48 obelisk = import ./. { inherit system; };
49 reflex-platform = obelisk.reflex-platform;
51 obelisk.haskellPackageSets.ghc
52 obeliskPackagesBackend;
54 obelisk.haskellPackageSets.ghcjs
55 obeliskPackagesCommon;
56 cachePackages = builtins.concatLists [
57 (builtins.attrValues ghc)
58 (builtins.attrValues ghcjs)
62 command = local-self.command;
63 serverExeSkeleton = (import ./skeleton { obelisk = local-self; }).exe;
64 androidObelisk = import ./. (self-args // {
65 config.android_sdk.accept_license = true;
67 androidSkeleton = (import ./skeleton { obelisk = androidObelisk; }).android.frontend;
68 iosObelisk = import ./. (self-args // {
69 system = "x86_64-darwin";
70 iosSdkVersion = "10.2";
72 iosSkeleton = (import ./skeleton { obelisk = iosObelisk; }).ios.frontend;
80 cache = reflex-platform.pinBuildInputs
83 [command serverExeSkeleton iosSkeleton androidSkeleton];
86 metaCache = local-self.pinBuildInputs
88 (map (a: a.cache) (builtins.attrValues perPlatform))
91in perPlatform // { inherit metaCache; }
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list