Created
October 15, 2019 05:03
-
-
Save nghamilton/99a7ec9f43afbfe4ecc641c912625791 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ nixpkgs ? import ../nix/nixpkgs-overlayed.nix }: | |
let | |
common = import ../common { inherit nixpkgs; }; | |
frontend = import ../frontend { inherit nixpkgs; }; | |
r = import ../nix/r { inherit nixpkgs; }; | |
overrides = drv: { | |
buildInputs = drv.buildInputs ++ [r]; | |
}; | |
backend = nixpkgs.pkgs.haskellPackages.callCabal2nix | |
"backend" ./. { common = common; }; | |
app = (nixpkgs.haskell.lib.dontHaddock backend) | |
.overrideAttrs overrides; | |
in | |
app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment