1{ stdenv, mkStackPkgSet, callStackToNix, importAndFilterProject, recurseIntoAttrs, haskellLib, testSrc }:
6 callProjectResults = callStackToNix {
7 src = testSrc "stack-simple";
9 pkgSet = mkStackPkgSet {
10 stack-pkgs = importAndFilterProject callProjectResults;
14 packages = pkgSet.config.hsPkgs;
18 stack-nix = callProjectResults.projectNix;
20 run = stdenv.mkDerivation {
21 name = "callStackToNix-test";
24 exe="${packages.stack-simple.components.exes.stack-simple-exe}/bin/stack-simple-exe${stdenv.hostPlatform.extensions.executable}"
26 printf "checking whether executable runs... " >& 2
27 cat ${haskellLib.check packages.stack-simple.components.exes.stack-simple-exe}/test-stdout
32 meta.platforms = platforms.all;
35 # Attributes used for debugging with nix repl
36 inherit pkgSet 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