16 lines
405 B
Nix
16 lines
405 B
Nix
|
{ haskellNixSrc ? builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz
|
||
|
, haskellNix ? import haskellNixSrc {}
|
||
|
, nixpkgs ? haskellNix.sources.nixpkgs }:
|
||
|
|
||
|
let
|
||
|
pkgs = import nixpkgs haskellNix.nixpkgsArgs;
|
||
|
|
||
|
pkgSet = pkgs.haskell-nix.mkCabalProjectPkgSet {
|
||
|
plan-pkgs = import ./pkgs.nix;
|
||
|
pkg-def-extras = [];
|
||
|
modules = [];
|
||
|
};
|
||
|
|
||
|
in
|
||
|
pkgSet.config.hsPkgs
|