mirror of
https://github.com/simplex-chat/haskell.nix.git
synced 2026-06-03 09:17:32 +00:00
* Include `tests` in path for cross compiled tests * Add ghc-boot-packages-nix to haskellNixRoots * Fix naming warnings in tests sources * Uses a single cleanGit call for all the tests * Add memoize code for ghc-boot and ghc-extra pkgs * Memoize ghc-boot and ghc-extra pkgs nix * Fix release.nix being more strict than ci.nix by updating filterAttrsOnlyRecursive in ci-lib.nix * Nicer errors when materialized path does not exist * Updated materialization docs * Add internalHackageIndexState to set the index-state used within haskell.nix
15 lines
290 B
Nix
15 lines
290 B
Nix
{ stackProject', recurseIntoAttrs, testSrc }:
|
|
|
|
let
|
|
project = stackProject' {
|
|
src = testSrc "stack-source-repo";
|
|
};
|
|
packages = project.hsPkgs;
|
|
|
|
in recurseIntoAttrs {
|
|
ifdInputs = {
|
|
inherit (project) stack-nix;
|
|
};
|
|
inherit (packages.stack-source-repo.components) library;
|
|
}
|