Created
August 31, 2019 22:08
-
-
Save therewillbecode/840d040b0ca4c93579c4390b977e959c to your computer and use it in GitHub Desktop.
This file contains 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
{ system ? builtins.currentSystem, compiler ? "ghc844" } : | |
let | |
overridez = import ./nix/haskell-overridez.nix; | |
overlays = [ | |
(newPkgs: oldPkgs: { | |
haskellPackages = oldPkgs.haskellPackages.override { | |
overrides = overridez.allIn ./nix; | |
patchFlags = [ "--binary" ]; | |
}; | |
}) | |
]; | |
pkgs = import <nixpkgs> { inherit overlays; }; | |
in | |
pkgs.haskell.packages.${compiler}.callPackage ./server.nix { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment