-
-
Save kutyel/3b067bca3c225926f247bbee5b83c65d 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 ? (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