1{ stdenv, lib, stackProject', recurseIntoAttrs, haskellLib, testSrc, compiler-nix-name }:
6 project = stackProject' {
7 src = testSrc "ghc-options";
9 packages = project.hsPkgs;
11 # Get the names of all packages. This is a test to see
12 # whether there is a broken "$locals" package present.
13 hasIdentifier = p: p != null && p ? identifier;
14 packageNames = mapAttrsToList (name: p: p.identifier.name) (filterAttrs (name: hasIdentifier) packages);
17 # This test is somehow broken for ghcjs
18 meta.disabled = stdenv.hostPlatform.isGhcjs || compiler-nix-name != "ghc865";
21 inherit (project) stack-nix;
23 run = stdenv.mkDerivation {
24 name = "callStackToNix-test";
27 printf "checking whether executable runs... " >& 2
28 cat ${haskellLib.check packages.test-ghc-options.components.exes.test-ghc-options-exe}/test-stdout
30 echo '${concatStringsSep " " packageNames}' > $out
33 meta.platforms = platforms.all;
36 # Attributes used for debugging with nix repl
37 inherit project packages;
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list