Created
December 17, 2019 09:59
-
-
Save domenkozar/ef783494fc0229645757041dcc96c6be 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
{ nixpkgs ? (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-19.09.tar.gz) | |
, system ? builtins.currentSystem | |
}: | |
let | |
haskellnix = import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz); | |
overlay = _: pkgs: | |
let | |
hnPkgs = pkgs.haskell-nix.stackProject { | |
src = ./.; | |
#inherit stackYaml; | |
modules = []; | |
}; | |
in { | |
mu-grpc-server = hnPkgs.mu-grpc-server.components.all; | |
}; | |
in (import nixpkgs { | |
overlays = haskellnix.overlays ++ [ overlay ]; | |
config = haskellnix.config // {}; | |
inherit system; | |
}).mu-grpc-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment