Skip to content

Commit 1ecd24e

Browse files
committed
Adds tests
1 parent 46be234 commit 1ecd24e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ let
134134

135135
# Takes a haskell src directory runs cabal new-configure and plan-to-nix.
136136
# Resulting nix files are added to nix-plan subdirectory.
137-
cabalProjectToNix = import ./lib/cabalProjectToNix.nix {
137+
callCabalProjectToNix = import ./lib/cabalProjectToNix.nix {
138138
inherit mkHackageIndex;
139139
inherit pkgs;
140140
inherit (pkgs) runCommand cabal-install ghc;

test/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ in {
1616
builder-haddock = haskell.callPackage ./builder-haddock {};
1717
stack-simple = haskell.callPackage ./stack-simple {};
1818
callStackToNix = haskell.callPackage ./callStackToNix {};
19+
callCabalProjectToNix = haskell.callPackage ./call-cabal-project-to-nix {};
1920

2021
# Run unit tests with: nix-instantiate --eval --strict -A unit
2122
# An empty list means success.

0 commit comments

Comments
 (0)