{ pkgs ? (import {}) , compilerName ? "ghc7103" }: rec { haskellPackages = pkgs.haskell.packages."${compilerName}"; threepenny-gui = pkgs.haskell.lib.appendPatch haskellPackages.threepenny-gui ./threepenny.patch; thermoprint-spec = haskellPackages.callPackage ./spec/thermoprint-spec.nix {}; thermoprint-bbcode = haskellPackages.callPackage ./tp-bbcode/thermoprint-bbcode.nix { inherit bbcode thermoprint-spec; }; thermoprint-client = haskellPackages.callPackage ./client/thermoprint-client.nix { inherit thermoprint-spec; }; thermoprint-server = pkgs.callPackage ./server/wrapped.nix { inherit (haskellPackages) ghcWithPackages; thermoprint-server = haskellPackages.callPackage ./server/thermoprint-server.nix { inherit thermoprint-spec thermoprint-client; }; }; thermoprint-webgui = haskellPackages.callPackage ./webgui/thermoprint-webgui.nix { inherit thermoprint-bbcode thermoprint-client threepenny-gui; }; bbcode = haskellPackages.callPackage ./bbcode/bbcode.nix {}; }