on master help sign in
Call haskellLib.justStaticExecutables just at the use site
commitfc01e72f85f6c30b12f22a6c9cfa680d4e3ca8b3 authorJohn Ericson <John.Ericson@Obsidian.Systems> dateFri 6 Dec 2019, 10:48 (7 years ago) parent1586735
1 file changed+7−2
default.nix+7−2
default.nix+7−2
@@ -40,7 +40,7 @@ let
4040 });
4141 hnix-store-core = self.callHackage "hnix-store-core" "0.1.0.0" {};
4242
43− ghcid = haskellLib.justStaticExecutables (self.callCabal2nix "ghcid" (hackGet ./dep/ghcid) {});
43+ ghcid = self.callCabal2nix "ghcid" (hackGet ./dep/ghcid) {};
4444 })
4545
4646 pkgs.obeliskExecutableConfig.haskellOverlay
@@ -55,7 +55,12 @@ let
5555 obelisk-asset-serve-snap = self.callCabal2nix "obelisk-asset-serve-snap" (cleanSource ./lib/asset/serve-snap) {};
5656 obelisk-backend = self.callCabal2nix "obelisk-backend" (cleanSource ./lib/backend) {};
5757 obelisk-cliapp = self.callCabal2nix "obelisk-cliapp" (cleanSource ./lib/cliapp) {};
58− obelisk-command = haskellLib.overrideCabal (self.callCabal2nix "obelisk-command" (cleanSource ./lib/command) {}) { librarySystemDepends = [ pkgs.nix self.ghcid ]; };
58+ obelisk-command = haskellLib.overrideCabal (self.callCabal2nix "obelisk-command" (cleanSource ./lib/command) {}) {
59+ librarySystemDepends = [
60+ pkgs.nix
61+ (haskellLib.justStaticExecutables self.ghcid)
62+ ];
63+ };
5964 obelisk-frontend = self.callCabal2nix "obelisk-frontend" (cleanSource ./lib/frontend) {};
6065 obelisk-run = self.callCabal2nix "obelisk-run" (cleanSource ./lib/run) {};
6166 obelisk-route = self.callCabal2nix "obelisk-route" (cleanSource ./lib/route) {};