We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f407ed commit 9085614Copy full SHA for 9085614
test/with-nixpkgs-ghc/default.nix
@@ -1,3 +1,4 @@
1
+{ with-nixpkgs ? true }:
2
let
3
4
haskell-nix = import ../../default.nix { };
@@ -17,14 +18,12 @@ let
17
18
);
19
20
pkgs = import nixpkgs {
- system = __currentSystem;
21
inherit (haskell-nix) config;
22
overlays = [
23
- # haskell-nix.overlays.haskell
24
- # haskell-nix.overlays.tools
25
haskell-nix.overlay
26
- o2
27
- ];
+ ]
+ ++
+ (if with-nixpkgs then [ o2 ] else [ ]);
28
};
29
30
prj = pkgs.haskell-nix.cabalProject {
@@ -35,4 +34,3 @@ let
35
34
in
36
37
prj.plan-nix
38
-
test/with-nixpkgs-ghc/empty/.almost renamed to test/with-nixpkgs-ghc/empty/almost/.gitkeep
0 commit comments