1{ stdenv, stackProject', recurseIntoAttrs, haskellLib, testSrc }:
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);
18 inherit (project) stack-nix;
20 run = stdenv.mkDerivation {
21 name = "callStackToNix-test";
24 printf "checking whether executable runs... " >& 2
25 cat ${haskellLib.check packages.test-ghc-options.components.exes.test-ghc-options-exe}/test-stdout
27 echo '${concatStringsSep " " packageNames}' > $out
30 meta.platforms = platforms.all;
33 # Attributes used for debugging with nix repl
34 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