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 7c6cae4 commit 756c7b9Copy full SHA for 756c7b9
default.nix
@@ -88,6 +88,20 @@ let
88
modules = [ patchesModule ] ++ modules;
89
};
90
91
+ # Create a package set based on a Stackage snapshot.
92
+ mkStackSnapshotPkgSet =
93
+ { resolver # name of the snapshot, e.g. lts-13.18
94
+ , pkg-def-extras ? []
95
+ , modules ? []
96
+ }@args:
97
+ self.mkStackPkgSet {
98
+ stack-pkgs = {
99
+ extras = _: {};
100
+ inherit resolver;
101
+ };
102
+ inherit pkg-def-extras modules;
103
104
+
105
# Create a Haskell package set based on a Cabal configuration.
106
mkCabalProjectPkgSet =
107
{ plan-pkgs # Path to the output of plan-to-nix
0 commit comments