on 4e100b2 help sign in
25 lines 795 B history raw
1{ stdenv, lib, pkgs, mkStackPkgSet, haskellLib, testSrc, compiler-nix-name }:
3with lib;
5let
6 # ./pkgs.nix and ./stack-simple.nix are generated by running
7 # stack-to-nix -o .
8 pkgSet = mkStackPkgSet {
9 stack-pkgs = import ./pkgs.nix;
10 pkg-def-extras = [];
11 modules = [];
12 };
14 packages = pkgSet.config.hsPkgs;
16in pkgs.recurseIntoAttrs {
17 meta.disabled = compiler-nix-name != "ghc865";
18 stack-simple-exe = (haskellLib.check packages.stack-simple.components.exes.stack-simple-exe) // {
19 # Attributes used for debugging with nix repl
20 inherit pkgSet packages;
21 };
22 stack-simple-test = packages.stack-simple.checks.stack-simple-test;
23 stack-simple-checks = packages.stack-simple.checks;
24 stack-simple-shell = packages.shellFor { tools = { cabal = "3.6.2.0"; }; };