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 androidSkeleton = (import ./skeleton { obelisk = local-self; }).android.frontend;
65 iosObelisk = import ./. (self-args // {
66 system = "x86_64-darwin";
67 iosSdkVersion = "10.2";
69 iosSkeleton = (import ./skeleton { obelisk = iosObelisk; }).ios.frontend;
77 cache = reflex-platform.pinBuildInputs
80 [command serverExeSkeleton iosSkeleton androidSkeleton];
83 metaCache = local-self.pinBuildInputs
85 (map (a: a.cache) (builtins.attrValues perPlatform))
88in 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