1{ local-self ? import ./. {}
5 inherit (local-self.nixpkgs) lib runCommand nix;
7 cacheBuildSystems = [ "x86_64-linux" "x86_64-darwin" ];
9 obeliskPackagesCommon = [
12 "obelisk-executable-config"
15 obeliskPackagesBackend = obeliskPackagesCommon ++ [
16 "obelisk-asset-manifest"
17 "obelisk-asset-serve-snap"
21 "obelisk-executable-config-inject"
29 pnameToAttrs = pkgsSet: pnames:
31 (name: { inherit name; value = pkgsSet.${name}; })
35 extractDeps = x: (x.override {
37 out = builtins.concatLists [
38 (drv.buildDepends or [])
39 (drv.libraryHaskellDepends or [])
40 (drv.executableHaskellDepends or [])
44 in pkgAttrs: builtins.concatLists (map extractDeps (builtins.attrValues pkgAttrs));
46 perPlatform = lib.genAttrs cacheBuildSystems (system: let
47 obelisk = import ./. { inherit system; };
48 reflex-platform = obelisk.reflex-platform;
50 obelisk.haskellPackageSets.ghc
51 obeliskPackagesBackend;
53 obelisk.haskellPackageSets.ghcjs
54 obeliskPackagesCommon;
55 cachePackages = builtins.concatLists [
56 (builtins.attrValues ghc)
57 (builtins.attrValues ghcjs)
61 command = local-self.command;
62 serverExeSkeleton = (import ./skeleton {}).exe;
63 builtSkeleton = (import ./skeleton {}).all;
68 serverExeSkeleton builtSkeleton;
69 cache = reflex-platform.pinBuildInputs
72 [command serverExeSkeleton builtSkeleton];
75 metaCache = local-self.pinBuildInputs
77 (map (a: a.cache) (builtins.attrValues perPlatform))
80in 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