File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 17
17
builder-haddock = haskell . callPackage ./builder-haddock { } ;
18
18
stack-simple = haskell . callPackage ./stack-simple { } ;
19
19
shell-for = haskell . callPackage ./shell-for { } ;
20
+ snapshots = haskell . callPackage ./snapshots { } ;
20
21
callStackToNix = haskell . callPackage ./callStackToNix { } ;
21
22
callCabalProjectToNix = haskell . callPackage ./call-cabal-project-to-nix { } ;
22
23
Original file line number Diff line number Diff line change
1
+ { stdenv , snapshots } :
2
+
3
+ with stdenv . lib ;
4
+
5
+ let
6
+ env = snapshots . "lts-12.21" . ghcWithHoogle
7
+ ( ps : with ps ; [ conduit conduit-extra resourcet ] ) ;
8
+
9
+ in
10
+ stdenv . mkDerivation {
11
+ name = "shell-for-test" ;
12
+
13
+ buildCommand = ''
14
+ ########################################################################
15
+ # test snapshot ghcWithHoogle
16
+
17
+ printf "checking that the ghcWithPackages env has the package...\n" >& 2
18
+ ${ env } /bin/ghc-pkg list | grep conduit
19
+
20
+ touch $out
21
+ '' ;
22
+
23
+ meta . platforms = platforms . all ;
24
+ passthru = {
25
+ inherit env ;
26
+ } ;
27
+ }
You can’t perform that action at this time.
0 commit comments