mirror of
https://github.com/simplex-chat/haskell.nix.git
synced 2026-06-03 09:17:32 +00:00
* use Cabal 3.6.2.0 * ghcjs 8.10.7 materialization update * another ghcjs 8.10.7 materialization update
26 lines
795 B
Nix
26 lines
795 B
Nix
{ stdenv, lib, pkgs, mkStackPkgSet, haskellLib, testSrc, compiler-nix-name }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
# ./pkgs.nix and ./stack-simple.nix are generated by running
|
|
# stack-to-nix -o .
|
|
pkgSet = mkStackPkgSet {
|
|
stack-pkgs = import ./pkgs.nix;
|
|
pkg-def-extras = [];
|
|
modules = [];
|
|
};
|
|
|
|
packages = pkgSet.config.hsPkgs;
|
|
|
|
in pkgs.recurseIntoAttrs {
|
|
meta.disabled = compiler-nix-name != "ghc865";
|
|
stack-simple-exe = (haskellLib.check packages.stack-simple.components.exes.stack-simple-exe) // {
|
|
# Attributes used for debugging with nix repl
|
|
inherit pkgSet packages;
|
|
};
|
|
stack-simple-test = packages.stack-simple.checks.stack-simple-test;
|
|
stack-simple-checks = packages.stack-simple.checks;
|
|
stack-simple-shell = packages.shellFor { tools = { cabal = "3.6.2.0"; }; };
|
|
}
|