mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-09-11 06:55:40 +03:00
Update materialized nix files (#603)
Update materialized with new errorHandler
This commit is contained in:
parent
6a0dd874be
commit
79b5458138
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { small_base = true; };
|
flags = { small_base = true; };
|
||||||
package = {
|
package = {
|
||||||
@ -137,15 +106,15 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"alex" = {
|
"alex" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
] ++ (if flags.small_base
|
] ++ (if flags.small_base
|
||||||
then [
|
then [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
]
|
]
|
||||||
else [ (hsPkgs."base" or (buildDepError "base")) ]);
|
else [ (hsPkgs."base" or (errorHandler.buildDepError "base")) ]);
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
"AbsSyn"
|
"AbsSyn"
|
||||||
@ -177,11 +146,11 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
tests = {
|
tests = {
|
||||||
"tests" = {
|
"tests" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."process" or (buildDepError "process"))
|
(hsPkgs."process" or (errorHandler.buildDepError "process"))
|
||||||
];
|
];
|
||||||
build-tools = [
|
build-tools = [
|
||||||
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex")))
|
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex")))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
mainPath = [ "test.hs" ];
|
mainPath = [ "test.hs" ];
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { integer-simple = false; integer-gmp = false; };
|
flags = { integer-simple = false; integer-gmp = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -56,16 +25,16 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = (([
|
depends = (([
|
||||||
(hsPkgs."rts" or (buildDepError "rts"))
|
(hsPkgs."rts" or (errorHandler.buildDepError "rts"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
] ++ (pkgs.lib).optional (!(flags.integer-gmp && !flags.integer-simple || !flags.integer-gmp && flags.integer-simple)) (hsPkgs."invalid-cabal-flag-settings" or (buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (buildDepError "integer-simple"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp"));
|
] ++ (pkgs.lib).optional (!(flags.integer-gmp && !flags.integer-simple || !flags.integer-gmp && flags.integer-simple)) (hsPkgs."invalid-cabal-flag-settings" or (errorHandler.buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (errorHandler.buildDepError "integer-simple"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp"));
|
||||||
libs = (pkgs.lib).optionals (system.isWindows) [
|
libs = (pkgs.lib).optionals (system.isWindows) [
|
||||||
(pkgs."wsock32" or (sysDepError "wsock32"))
|
(pkgs."wsock32" or (errorHandler.sysDepError "wsock32"))
|
||||||
(pkgs."user32" or (sysDepError "user32"))
|
(pkgs."user32" or (errorHandler.sysDepError "user32"))
|
||||||
(pkgs."shell32" or (sysDepError "shell32"))
|
(pkgs."shell32" or (errorHandler.sysDepError "shell32"))
|
||||||
(pkgs."msvcrt" or (sysDepError "msvcrt"))
|
(pkgs."msvcrt" or (errorHandler.sysDepError "msvcrt"))
|
||||||
(pkgs."mingw32" or (sysDepError "mingw32"))
|
(pkgs."mingw32" or (errorHandler.sysDepError "mingw32"))
|
||||||
(pkgs."mingwex" or (sysDepError "mingwex"))
|
(pkgs."mingwex" or (errorHandler.sysDepError "mingwex"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { integer-simple = false; };
|
flags = { integer-simple = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -56,53 +25,53 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = ([
|
depends = ([
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer"));
|
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (errorHandler.buildDepError "integer"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
tests = {
|
tests = {
|
||||||
"prop-compiled" = {
|
"prop-compiled" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
(hsPkgs."random" or (errorHandler.buildDepError "random"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
(hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2"))
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
"regressions" = {
|
"regressions" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
(hsPkgs."random" or (errorHandler.buildDepError "random"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit"))
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit"))
|
||||||
];
|
];
|
||||||
buildable = false;
|
buildable = false;
|
||||||
};
|
};
|
||||||
"test-builder" = {
|
"test-builder" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
|
||||||
(hsPkgs."byteorder" or (buildDepError "byteorder"))
|
(hsPkgs."byteorder" or (errorHandler.buildDepError "byteorder"))
|
||||||
(hsPkgs."dlist" or (buildDepError "dlist"))
|
(hsPkgs."dlist" or (errorHandler.buildDepError "dlist"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."mtl" or (buildDepError "mtl"))
|
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit"))
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
(hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -56,12 +25,12 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -56,9 +25,9 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."rts" or (buildDepError "rts"))
|
(hsPkgs."rts" or (errorHandler.buildDepError "rts"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {
|
flags = {
|
||||||
ghci = false;
|
ghci = false;
|
||||||
@ -62,31 +31,31 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."process" or (buildDepError "process"))
|
(hsPkgs."process" or (errorHandler.buildDepError "process"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."time" or (buildDepError "time"))
|
(hsPkgs."time" or (errorHandler.buildDepError "time"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell"))
|
||||||
(hsPkgs."hpc" or (buildDepError "hpc"))
|
(hsPkgs."hpc" or (errorHandler.buildDepError "hpc"))
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
(hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
(hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
] ++ (if system.isWindows
|
] ++ (if system.isWindows
|
||||||
then [ (hsPkgs."Win32" or (buildDepError "Win32")) ]
|
then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ]
|
||||||
else [
|
else [
|
||||||
(hsPkgs."unix" or (buildDepError "unix"))
|
(hsPkgs."unix" or (errorHandler.buildDepError "unix"))
|
||||||
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")));
|
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (errorHandler.buildDepError "terminfo")));
|
||||||
build-tools = [
|
build-tools = [
|
||||||
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex")))
|
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex")))
|
||||||
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy")))
|
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (errorHandler.buildToolDepError "happy")))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { ghci = false; };
|
flags = { ghci = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -56,19 +25,19 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
(hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
(hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap"))
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell"))
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -57,17 +26,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"iserv-proxy" = {
|
"iserv-proxy" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
(hsPkgs."network" or (errorHandler.buildDepError "network"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -57,15 +26,15 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"iserv" = {
|
"iserv" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { network = false; };
|
flags = { network = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -56,17 +25,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = ([
|
depends = ([
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
] ++ (pkgs.lib).optionals (flags.network) [
|
] ++ (pkgs.lib).optionals (flags.network) [
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
(hsPkgs."network" or (errorHandler.buildDepError "network"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -57,8 +26,8 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"remote-iserv" = {
|
"remote-iserv" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
|
@ -1,111 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = { integer-simple = false; };
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "bytestring"; version = "0.10.10.0"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "Copyright (c) Don Stewart 2005-2009,\n(c) Duncan Coutts 2006-2015,\n(c) David Roundy 2003-2005,\n(c) Jasper Van der Jeugt 2010,\n(c) Simon Meier 2010-2013.";
|
|
||||||
maintainer = "Duncan Coutts <duncan@community.haskell.org>";
|
|
||||||
author = "Don Stewart,\nDuncan Coutts";
|
|
||||||
homepage = "https://github.com/haskell/bytestring";
|
|
||||||
url = "";
|
|
||||||
synopsis = "Fast, compact, strict and lazy byte strings with a list interface";
|
|
||||||
description = "An efficient compact, immutable byte string type (both strict and lazy)\nsuitable for binary or 8-bit character data.\n\nThe 'ByteString' type represents sequences of bytes or 8-bit characters.\nIt is suitable for high performance use, both in terms of large data\nquantities, or high speed requirements. The 'ByteString' functions follow\nthe same style as Haskell\\'s ordinary lists, so it is easy to convert code\nfrom using 'String' to 'ByteString'.\n\nTwo 'ByteString' variants are provided:\n\n* Strict 'ByteString's keep the string as a single large array. This\nmakes them convenient for passing data between C and Haskell.\n\n* Lazy 'ByteString's use a lazy list of strict chunks which makes it\nsuitable for I\\/O streaming tasks.\n\nThe @Char8@ modules provide a character-based view of the same\nunderlying 'ByteString' types. This makes it convenient to handle mixed\nbinary and 8-bit character content (which is common in many file formats\nand network protocols).\n\nThe 'Builder' module provides an efficient way to build up 'ByteString's\nin an ad-hoc way by repeated concatenation. This is ideal for fast\nserialisation or pretty printing.\n\nThere is also a 'ShortByteString' type which has a lower memory overhead\nand can can be converted to or from a 'ByteString', but supports very few\nother operations. It is suitable for keeping many short strings in memory.\n\n'ByteString's are not designed for Unicode. For Unicode strings you should\nuse the 'Text' type from the @text@ package.\n\nThese modules are intended to be imported qualified, to avoid name clashes\nwith \"Prelude\" functions, e.g.\n\n> import qualified Data.ByteString as BS";
|
|
||||||
buildType = "Simple";
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = ([
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer"));
|
|
||||||
buildable = true;
|
|
||||||
};
|
|
||||||
tests = {
|
|
||||||
"prop-compiled" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
};
|
|
||||||
"regressions" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
|
||||||
];
|
|
||||||
buildable = false;
|
|
||||||
};
|
|
||||||
"test-builder" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
|
||||||
(hsPkgs."byteorder" or (buildDepError "byteorder"))
|
|
||||||
(hsPkgs."dlist" or (buildDepError "dlist"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."mtl" or (buildDepError "mtl"))
|
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ./.; }
|
|
@ -1,69 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.22";
|
|
||||||
identifier = { name = "ghc-boot"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "";
|
|
||||||
maintainer = "ghc-devs@haskell.org";
|
|
||||||
author = "";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "Shared functionality between GHC and its boot libraries";
|
|
||||||
description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n\nA note about \"GHC.PackageDb\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal.";
|
|
||||||
buildType = "Simple";
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ./.; }
|
|
@ -1,96 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {
|
|
||||||
ghci = false;
|
|
||||||
stage1 = false;
|
|
||||||
stage2 = true;
|
|
||||||
stage3 = false;
|
|
||||||
terminfo = true;
|
|
||||||
integer-simple = false;
|
|
||||||
integer-gmp = false;
|
|
||||||
};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "ghc"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "";
|
|
||||||
maintainer = "glasgow-haskell-users@haskell.org";
|
|
||||||
author = "The GHC Team";
|
|
||||||
homepage = "http://www.haskell.org/ghc/";
|
|
||||||
url = "";
|
|
||||||
synopsis = "The GHC API";
|
|
||||||
description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.";
|
|
||||||
buildType = "Simple";
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = ((([
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."process" or (buildDepError "process"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."time" or (buildDepError "time"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
|
||||||
(hsPkgs."hpc" or (buildDepError "hpc"))
|
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
|
||||||
] ++ (if system.isWindows
|
|
||||||
then [ (hsPkgs."Win32" or (buildDepError "Win32")) ]
|
|
||||||
else [
|
|
||||||
(hsPkgs."unix" or (buildDepError "unix"))
|
|
||||||
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (buildDepError "integer-simple"));
|
|
||||||
build-tools = [
|
|
||||||
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex")))
|
|
||||||
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy")))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ./.; }
|
|
@ -1,75 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = { ghci = false; };
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "ghci"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "";
|
|
||||||
maintainer = "ghc-devs@haskell.org";
|
|
||||||
author = "";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "The library supporting GHC's interactive interpreter";
|
|
||||||
description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend.";
|
|
||||||
buildType = "Simple";
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
|
||||||
buildable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ./.; }
|
|
@ -1,76 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "iserv-proxy"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "XXX";
|
|
||||||
maintainer = "XXX";
|
|
||||||
author = "XXX";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "iserv allows GHC to delegate Tempalte Haskell computations";
|
|
||||||
description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\niserv can also be used in combination with cross compilation. For\nthis, the @iserv-proxy@ needs to be built on the host, targeting the\nhost (as it is running on the host). @cabal install -flibrary\n-fproxy@ will yield the proxy.\n\nUsing the cabal for the target @arch-platform-target-cabal install\n-flibrary@ will build the required library that contains the ffi\n@startSlave@ function, which needs to be invoked on the target\n(e.g. in an iOS application) to start the remote iserv slave.\n\ncalling the GHC cross compiler with @-fexternal-interpreter\n-pgmi=\$HOME/.cabal/bin/iserv-proxy -opti\\<ip address\\> -opti\\<port\\>@\nwill cause it to compile Template Haskell via the remote at \\<ip address\\>.\n\nThus to get cross compilation with Template Haskell follow the\nfollowing receipt:\n\n* compile the iserv library for your target\n\n> iserv \$ arch-platform-target-cabal install -flibrary\n\n* setup an application for your target that calls the\n* startSlave function. This could be either haskell or your\n* targets ffi capable language, if needed.\n\n> void startSlave(false /* verbose */, 5000 /* port */,\n> \"/path/to/storagelocation/on/target\");\n\n* build the iserv-proxy\n\n> iserv \$ cabal install -flibrary -fproxy\n* Start your iserv-slave app on your target running on say @10.0.0.1:5000@\n* compiler your sources with -fexternal-interpreter and the proxy\n\n> project \$ arch-platform-target-ghc ModuleContainingTH.hs \\\n> -fexternal-interpreter \\\n> -pgmi=\$HOME/.cabal/bin/iserv-proxy \\\n> -opti10.0.0.1 -opti5000\n\nShould something not work as expected, provide @-opti-v@ for verbose\nlogging of the @iserv-proxy@.";
|
|
||||||
buildType = "Simple";
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
exes = {
|
|
||||||
"iserv-proxy" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ./.; }
|
|
@ -1,73 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "iserv"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "XXX";
|
|
||||||
maintainer = "XXX";
|
|
||||||
author = "XXX";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "iserv allows GHC to delegate Template Haskell computations";
|
|
||||||
description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\nTo use iserv with cross compilers, please see @libraries/libiserv@\nand @utils/iserv-proxy@.";
|
|
||||||
buildType = "Simple";
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
exes = {
|
|
||||||
"iserv" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
|
||||||
buildable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ./.; }
|
|
@ -1,73 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = { network = false; };
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "libiserv"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "XXX";
|
|
||||||
maintainer = "XXX";
|
|
||||||
author = "XXX";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "Provides shared functionality between iserv and iserv-proxy";
|
|
||||||
description = "";
|
|
||||||
buildType = "Simple";
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = ([
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
|
||||||
] ++ (pkgs.lib).optionals (flags.network) [
|
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
|
||||||
buildable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ./.; }
|
|
@ -1,67 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "remote-iserv"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "XXX";
|
|
||||||
maintainer = "Moritz Angermann <moritz.angermann@gmail.com>";
|
|
||||||
author = "Moritz Angermann <moritz.angermann@gmail.com>";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "iserv allows GHC to delegate Tempalte Haskell computations";
|
|
||||||
description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running libiserv on a given port to which iserv-proxy will\nthen connect.";
|
|
||||||
buildType = "Simple";
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
exes = {
|
|
||||||
"remote-iserv" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ./.; }
|
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { integer-simple = false; };
|
flags = { integer-simple = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -56,53 +25,53 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = ([
|
depends = ([
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer"));
|
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (errorHandler.buildDepError "integer"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
tests = {
|
tests = {
|
||||||
"prop-compiled" = {
|
"prop-compiled" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
(hsPkgs."random" or (errorHandler.buildDepError "random"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
(hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2"))
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
"regressions" = {
|
"regressions" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
(hsPkgs."random" or (errorHandler.buildDepError "random"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit"))
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit"))
|
||||||
];
|
];
|
||||||
buildable = false;
|
buildable = false;
|
||||||
};
|
};
|
||||||
"test-builder" = {
|
"test-builder" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
|
||||||
(hsPkgs."byteorder" or (buildDepError "byteorder"))
|
(hsPkgs."byteorder" or (errorHandler.buildDepError "byteorder"))
|
||||||
(hsPkgs."dlist" or (buildDepError "dlist"))
|
(hsPkgs."dlist" or (errorHandler.buildDepError "dlist"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."mtl" or (buildDepError "mtl"))
|
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit"))
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
(hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -56,12 +25,12 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {
|
flags = {
|
||||||
ghci = false;
|
ghci = false;
|
||||||
@ -64,31 +33,31 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = ((([
|
depends = ((([
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."process" or (buildDepError "process"))
|
(hsPkgs."process" or (errorHandler.buildDepError "process"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."time" or (buildDepError "time"))
|
(hsPkgs."time" or (errorHandler.buildDepError "time"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell"))
|
||||||
(hsPkgs."hpc" or (buildDepError "hpc"))
|
(hsPkgs."hpc" or (errorHandler.buildDepError "hpc"))
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
(hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
(hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
] ++ (if system.isWindows
|
] ++ (if system.isWindows
|
||||||
then [ (hsPkgs."Win32" or (buildDepError "Win32")) ]
|
then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ]
|
||||||
else [
|
else [
|
||||||
(hsPkgs."unix" or (buildDepError "unix"))
|
(hsPkgs."unix" or (errorHandler.buildDepError "unix"))
|
||||||
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (buildDepError "integer-simple"));
|
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (errorHandler.buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (errorHandler.buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (errorHandler.buildDepError "integer-simple"));
|
||||||
build-tools = [
|
build-tools = [
|
||||||
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex")))
|
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex")))
|
||||||
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy")))
|
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (errorHandler.buildToolDepError "happy")))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { ghci = false; };
|
flags = { ghci = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -56,19 +25,19 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
(hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
(hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap"))
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell"))
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -57,17 +26,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"iserv-proxy" = {
|
"iserv-proxy" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
(hsPkgs."network" or (errorHandler.buildDepError "network"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -57,15 +26,15 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"iserv" = {
|
"iserv" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { network = false; };
|
flags = { network = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -56,17 +25,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = ([
|
depends = ([
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
] ++ (pkgs.lib).optionals (flags.network) [
|
] ++ (pkgs.lib).optionals (flags.network) [
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
(hsPkgs."network" or (errorHandler.buildDepError "network"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -57,8 +26,8 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"remote-iserv" = {
|
"remote-iserv" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
};
|
};
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { integer-simple = false; };
|
flags = { integer-simple = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -64,10 +33,10 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = ([
|
depends = ([
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer"));
|
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (errorHandler.buildDepError "integer"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
"Data/ByteString/Builder/ASCII"
|
"Data/ByteString/Builder/ASCII"
|
||||||
@ -101,14 +70,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
tests = {
|
tests = {
|
||||||
"prop-compiled" = {
|
"prop-compiled" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
(hsPkgs."random" or (errorHandler.buildDepError "random"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
(hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2"))
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [ "Rules" "QuickCheckUtils" "TestFramework" ];
|
modules = [ "Rules" "QuickCheckUtils" "TestFramework" ];
|
||||||
@ -119,14 +88,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
};
|
};
|
||||||
"regressions" = {
|
"regressions" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
(hsPkgs."random" or (errorHandler.buildDepError "random"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit"))
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit"))
|
||||||
];
|
];
|
||||||
buildable = false;
|
buildable = false;
|
||||||
cSources = [ "cbits/fpstring.c" ];
|
cSources = [ "cbits/fpstring.c" ];
|
||||||
@ -136,18 +105,18 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
};
|
};
|
||||||
"test-builder" = {
|
"test-builder" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
|
||||||
(hsPkgs."byteorder" or (buildDepError "byteorder"))
|
(hsPkgs."byteorder" or (errorHandler.buildDepError "byteorder"))
|
||||||
(hsPkgs."dlist" or (buildDepError "dlist"))
|
(hsPkgs."dlist" or (errorHandler.buildDepError "dlist"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."mtl" or (buildDepError "mtl"))
|
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit"))
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
(hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -64,12 +33,12 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {
|
flags = {
|
||||||
ghci = false;
|
ghci = false;
|
||||||
@ -75,31 +44,31 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."process" or (buildDepError "process"))
|
(hsPkgs."process" or (errorHandler.buildDepError "process"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."time" or (buildDepError "time"))
|
(hsPkgs."time" or (errorHandler.buildDepError "time"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell"))
|
||||||
(hsPkgs."hpc" or (buildDepError "hpc"))
|
(hsPkgs."hpc" or (errorHandler.buildDepError "hpc"))
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
(hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
(hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
] ++ (if system.isWindows
|
] ++ (if system.isWindows
|
||||||
then [ (hsPkgs."Win32" or (buildDepError "Win32")) ]
|
then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ]
|
||||||
else [
|
else [
|
||||||
(hsPkgs."unix" or (buildDepError "unix"))
|
(hsPkgs."unix" or (errorHandler.buildDepError "unix"))
|
||||||
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")));
|
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (errorHandler.buildDepError "terminfo")));
|
||||||
build-tools = [
|
build-tools = [
|
||||||
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex")))
|
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex")))
|
||||||
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy")))
|
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (errorHandler.buildToolDepError "happy")))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { ghci = false; };
|
flags = { ghci = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -64,19 +33,19 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
(hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
(hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap"))
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell"))
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
"GHCi/BreakArray"
|
"GHCi/BreakArray"
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -65,17 +34,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"iserv-proxy" = {
|
"iserv-proxy" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
(hsPkgs."network" or (errorHandler.buildDepError "network"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
hsSourceDirs = [ "src" ];
|
hsSourceDirs = [ "src" ];
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -65,15 +34,15 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"iserv" = {
|
"iserv" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
cSources = [ "cbits/iservmain.c" ];
|
cSources = [ "cbits/iservmain.c" ];
|
||||||
hsSourceDirs = [ "src" ];
|
hsSourceDirs = [ "src" ];
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { network = false; };
|
flags = { network = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -64,17 +33,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = ([
|
depends = ([
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
] ++ (pkgs.lib).optionals (flags.network) [
|
] ++ (pkgs.lib).optionals (flags.network) [
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
(hsPkgs."network" or (errorHandler.buildDepError "network"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
"Lib"
|
"Lib"
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -65,8 +34,8 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"remote-iserv" = {
|
"remote-iserv" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
hsSourceDirs = [ "src" ];
|
hsSourceDirs = [ "src" ];
|
||||||
|
@ -1,167 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = { integer-simple = false; };
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "bytestring"; version = "0.10.10.0"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "Copyright (c) Don Stewart 2005-2009,\n(c) Duncan Coutts 2006-2015,\n(c) David Roundy 2003-2005,\n(c) Jasper Van der Jeugt 2010,\n(c) Simon Meier 2010-2013.";
|
|
||||||
maintainer = "Duncan Coutts <duncan@community.haskell.org>";
|
|
||||||
author = "Don Stewart,\nDuncan Coutts";
|
|
||||||
homepage = "https://github.com/haskell/bytestring";
|
|
||||||
url = "";
|
|
||||||
synopsis = "Fast, compact, strict and lazy byte strings with a list interface";
|
|
||||||
description = "An efficient compact, immutable byte string type (both strict and lazy)\nsuitable for binary or 8-bit character data.\n\nThe 'ByteString' type represents sequences of bytes or 8-bit characters.\nIt is suitable for high performance use, both in terms of large data\nquantities, or high speed requirements. The 'ByteString' functions follow\nthe same style as Haskell\\'s ordinary lists, so it is easy to convert code\nfrom using 'String' to 'ByteString'.\n\nTwo 'ByteString' variants are provided:\n\n* Strict 'ByteString's keep the string as a single large array. This\nmakes them convenient for passing data between C and Haskell.\n\n* Lazy 'ByteString's use a lazy list of strict chunks which makes it\nsuitable for I\\/O streaming tasks.\n\nThe @Char8@ modules provide a character-based view of the same\nunderlying 'ByteString' types. This makes it convenient to handle mixed\nbinary and 8-bit character content (which is common in many file formats\nand network protocols).\n\nThe 'Builder' module provides an efficient way to build up 'ByteString's\nin an ad-hoc way by repeated concatenation. This is ideal for fast\nserialisation or pretty printing.\n\nThere is also a 'ShortByteString' type which has a lower memory overhead\nand can can be converted to or from a 'ByteString', but supports very few\nother operations. It is suitable for keeping many short strings in memory.\n\n'ByteString's are not designed for Unicode. For Unicode strings you should\nuse the 'Text' type from the @text@ package.\n\nThese modules are intended to be imported qualified, to avoid name clashes\nwith \"Prelude\" functions, e.g.\n\n> import qualified Data.ByteString as BS";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [ "LICENSE" ];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [ "README.md" "Changelog.md" ];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = ([
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer"));
|
|
||||||
buildable = true;
|
|
||||||
modules = [
|
|
||||||
"Data/ByteString/Builder/ASCII"
|
|
||||||
"Data/ByteString/Builder/Prim/Binary"
|
|
||||||
"Data/ByteString/Builder/Prim/ASCII"
|
|
||||||
"Data/ByteString/Builder/Prim/Internal/Floating"
|
|
||||||
"Data/ByteString/Builder/Prim/Internal/UncheckedShifts"
|
|
||||||
"Data/ByteString/Builder/Prim/Internal/Base16"
|
|
||||||
"Data/ByteString"
|
|
||||||
"Data/ByteString/Char8"
|
|
||||||
"Data/ByteString/Unsafe"
|
|
||||||
"Data/ByteString/Internal"
|
|
||||||
"Data/ByteString/Lazy"
|
|
||||||
"Data/ByteString/Lazy/Char8"
|
|
||||||
"Data/ByteString/Lazy/Internal"
|
|
||||||
"Data/ByteString/Short"
|
|
||||||
"Data/ByteString/Short/Internal"
|
|
||||||
"Data/ByteString/Builder"
|
|
||||||
"Data/ByteString/Builder/Extra"
|
|
||||||
"Data/ByteString/Builder/Prim"
|
|
||||||
"Data/ByteString/Builder/Internal"
|
|
||||||
"Data/ByteString/Builder/Prim/Internal"
|
|
||||||
"Data/ByteString/Lazy/Builder"
|
|
||||||
"Data/ByteString/Lazy/Builder/Extras"
|
|
||||||
"Data/ByteString/Lazy/Builder/ASCII"
|
|
||||||
];
|
|
||||||
cSources = [ "cbits/fpstring.c" "cbits/itoa.c" ];
|
|
||||||
includeDirs = [ "include" ];
|
|
||||||
includes = [ "fpstring.h" ];
|
|
||||||
};
|
|
||||||
tests = {
|
|
||||||
"prop-compiled" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
modules = [ "Rules" "QuickCheckUtils" "TestFramework" ];
|
|
||||||
cSources = [ "cbits/fpstring.c" ];
|
|
||||||
hsSourceDirs = [ "." "tests" ];
|
|
||||||
includeDirs = [ "include" ];
|
|
||||||
mainPath = [ "Properties.hs" ];
|
|
||||||
};
|
|
||||||
"regressions" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
|
||||||
];
|
|
||||||
buildable = false;
|
|
||||||
cSources = [ "cbits/fpstring.c" ];
|
|
||||||
hsSourceDirs = [ "." "tests" ];
|
|
||||||
includeDirs = [ "include" ];
|
|
||||||
mainPath = [ "Regressions.hs" ];
|
|
||||||
};
|
|
||||||
"test-builder" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
|
||||||
(hsPkgs."byteorder" or (buildDepError "byteorder"))
|
|
||||||
(hsPkgs."dlist" or (buildDepError "dlist"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."mtl" or (buildDepError "mtl"))
|
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
modules = [
|
|
||||||
"Data/ByteString/Builder/Tests"
|
|
||||||
"Data/ByteString/Builder/Prim/Tests"
|
|
||||||
"Data/ByteString/Builder/Prim/TestUtils"
|
|
||||||
"TestFramework"
|
|
||||||
];
|
|
||||||
cSources = [ "cbits/fpstring.c" "cbits/itoa.c" ];
|
|
||||||
hsSourceDirs = [ "." "tests" "tests/builder" ];
|
|
||||||
includeDirs = [ "include" ];
|
|
||||||
includes = [ "fpstring.h" ];
|
|
||||||
mainPath = [ "TestSuite.hs" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../libraries/bytestring; }
|
|
@ -1,84 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.22";
|
|
||||||
identifier = { name = "ghc-boot"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "";
|
|
||||||
maintainer = "ghc-devs@haskell.org";
|
|
||||||
author = "";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "Shared functionality between GHC and its boot libraries";
|
|
||||||
description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n\nA note about \"GHC.PackageDb\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal.";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [ "LICENSE" ];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [ "changelog.md" ];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
modules = [
|
|
||||||
"GHC/LanguageExtensions"
|
|
||||||
"GHC/PackageDb"
|
|
||||||
"GHC/Serialized"
|
|
||||||
"GHC/ForeignSrcLang"
|
|
||||||
"GHC/HandleEncoding"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../libraries/ghc-boot; }
|
|
@ -1,608 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {
|
|
||||||
ghci = false;
|
|
||||||
stage1 = false;
|
|
||||||
stage2 = true;
|
|
||||||
stage3 = false;
|
|
||||||
terminfo = true;
|
|
||||||
integer-simple = false;
|
|
||||||
integer-gmp = false;
|
|
||||||
};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "ghc"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "";
|
|
||||||
maintainer = "glasgow-haskell-users@haskell.org";
|
|
||||||
author = "The GHC Team";
|
|
||||||
homepage = "http://www.haskell.org/ghc/";
|
|
||||||
url = "";
|
|
||||||
synopsis = "The GHC API";
|
|
||||||
description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [ "LICENSE" ];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [
|
|
||||||
"utils/md5.h"
|
|
||||||
"Unique.h"
|
|
||||||
"nativeGen/NCG.h"
|
|
||||||
"parser/cutils.h"
|
|
||||||
];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = ((([
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."process" or (buildDepError "process"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."time" or (buildDepError "time"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
|
||||||
(hsPkgs."hpc" or (buildDepError "hpc"))
|
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
|
||||||
] ++ (if system.isWindows
|
|
||||||
then [ (hsPkgs."Win32" or (buildDepError "Win32")) ]
|
|
||||||
else [
|
|
||||||
(hsPkgs."unix" or (buildDepError "unix"))
|
|
||||||
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (buildDepError "integer-simple"));
|
|
||||||
build-tools = [
|
|
||||||
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex")))
|
|
||||||
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy")))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
modules = [
|
|
||||||
"GhcPrelude"
|
|
||||||
"HieTypes"
|
|
||||||
"HieDebug"
|
|
||||||
"HieBin"
|
|
||||||
"HieUtils"
|
|
||||||
"HieAst"
|
|
||||||
"Ar"
|
|
||||||
"FileCleanup"
|
|
||||||
"DriverBkp"
|
|
||||||
"BkpSyn"
|
|
||||||
"NameShape"
|
|
||||||
"RnModIface"
|
|
||||||
"Avail"
|
|
||||||
"AsmUtils"
|
|
||||||
"BasicTypes"
|
|
||||||
"ConLike"
|
|
||||||
"DataCon"
|
|
||||||
"PatSyn"
|
|
||||||
"Demand"
|
|
||||||
"Debug"
|
|
||||||
"Exception"
|
|
||||||
"FieldLabel"
|
|
||||||
"GhcMonad"
|
|
||||||
"Hooks"
|
|
||||||
"Id"
|
|
||||||
"IdInfo"
|
|
||||||
"Lexeme"
|
|
||||||
"Literal"
|
|
||||||
"Llvm"
|
|
||||||
"Llvm/AbsSyn"
|
|
||||||
"Llvm/MetaData"
|
|
||||||
"Llvm/PpLlvm"
|
|
||||||
"Llvm/Types"
|
|
||||||
"LlvmCodeGen"
|
|
||||||
"LlvmCodeGen/Base"
|
|
||||||
"LlvmCodeGen/CodeGen"
|
|
||||||
"LlvmCodeGen/Data"
|
|
||||||
"LlvmCodeGen/Ppr"
|
|
||||||
"LlvmCodeGen/Regs"
|
|
||||||
"LlvmMangler"
|
|
||||||
"MkId"
|
|
||||||
"Module"
|
|
||||||
"Name"
|
|
||||||
"NameEnv"
|
|
||||||
"NameSet"
|
|
||||||
"OccName"
|
|
||||||
"RdrName"
|
|
||||||
"NameCache"
|
|
||||||
"SrcLoc"
|
|
||||||
"UniqSupply"
|
|
||||||
"Unique"
|
|
||||||
"Var"
|
|
||||||
"VarEnv"
|
|
||||||
"VarSet"
|
|
||||||
"UnVarGraph"
|
|
||||||
"BlockId"
|
|
||||||
"CLabel"
|
|
||||||
"Cmm"
|
|
||||||
"CmmBuildInfoTables"
|
|
||||||
"CmmPipeline"
|
|
||||||
"CmmCallConv"
|
|
||||||
"CmmCommonBlockElim"
|
|
||||||
"CmmImplementSwitchPlans"
|
|
||||||
"CmmContFlowOpt"
|
|
||||||
"CmmExpr"
|
|
||||||
"CmmInfo"
|
|
||||||
"CmmLex"
|
|
||||||
"CmmLint"
|
|
||||||
"CmmLive"
|
|
||||||
"CmmMachOp"
|
|
||||||
"CmmMonad"
|
|
||||||
"CmmSwitch"
|
|
||||||
"CmmNode"
|
|
||||||
"CmmOpt"
|
|
||||||
"CmmParse"
|
|
||||||
"CmmProcPoint"
|
|
||||||
"CmmSink"
|
|
||||||
"CmmType"
|
|
||||||
"CmmUtils"
|
|
||||||
"CmmLayoutStack"
|
|
||||||
"EnumSet"
|
|
||||||
"MkGraph"
|
|
||||||
"PprBase"
|
|
||||||
"PprC"
|
|
||||||
"PprCmm"
|
|
||||||
"PprCmmDecl"
|
|
||||||
"PprCmmExpr"
|
|
||||||
"Bitmap"
|
|
||||||
"CodeGen/Platform"
|
|
||||||
"CodeGen/Platform/ARM"
|
|
||||||
"CodeGen/Platform/ARM64"
|
|
||||||
"CodeGen/Platform/NoRegs"
|
|
||||||
"CodeGen/Platform/PPC"
|
|
||||||
"CodeGen/Platform/SPARC"
|
|
||||||
"CodeGen/Platform/X86"
|
|
||||||
"CodeGen/Platform/X86_64"
|
|
||||||
"CgUtils"
|
|
||||||
"StgCmm"
|
|
||||||
"StgCmmBind"
|
|
||||||
"StgCmmClosure"
|
|
||||||
"StgCmmCon"
|
|
||||||
"StgCmmEnv"
|
|
||||||
"StgCmmExpr"
|
|
||||||
"StgCmmForeign"
|
|
||||||
"StgCmmHeap"
|
|
||||||
"StgCmmHpc"
|
|
||||||
"StgCmmArgRep"
|
|
||||||
"StgCmmLayout"
|
|
||||||
"StgCmmMonad"
|
|
||||||
"StgCmmPrim"
|
|
||||||
"StgCmmProf"
|
|
||||||
"StgCmmTicky"
|
|
||||||
"StgCmmUtils"
|
|
||||||
"StgCmmExtCode"
|
|
||||||
"SMRep"
|
|
||||||
"CoreArity"
|
|
||||||
"CoreFVs"
|
|
||||||
"CoreLint"
|
|
||||||
"CorePrep"
|
|
||||||
"CoreSubst"
|
|
||||||
"CoreOpt"
|
|
||||||
"CoreSyn"
|
|
||||||
"TrieMap"
|
|
||||||
"CoreTidy"
|
|
||||||
"CoreUnfold"
|
|
||||||
"CoreUtils"
|
|
||||||
"CoreMap"
|
|
||||||
"CoreSeq"
|
|
||||||
"CoreStats"
|
|
||||||
"MkCore"
|
|
||||||
"PprCore"
|
|
||||||
"PmExpr"
|
|
||||||
"TmOracle"
|
|
||||||
"Check"
|
|
||||||
"Coverage"
|
|
||||||
"Desugar"
|
|
||||||
"DsArrows"
|
|
||||||
"DsBinds"
|
|
||||||
"DsCCall"
|
|
||||||
"DsExpr"
|
|
||||||
"DsForeign"
|
|
||||||
"DsGRHSs"
|
|
||||||
"DsListComp"
|
|
||||||
"DsMonad"
|
|
||||||
"DsUsage"
|
|
||||||
"DsUtils"
|
|
||||||
"ExtractDocs"
|
|
||||||
"Match"
|
|
||||||
"MatchCon"
|
|
||||||
"MatchLit"
|
|
||||||
"HsBinds"
|
|
||||||
"HsDecls"
|
|
||||||
"HsDoc"
|
|
||||||
"HsExpr"
|
|
||||||
"HsImpExp"
|
|
||||||
"HsLit"
|
|
||||||
"PlaceHolder"
|
|
||||||
"HsExtension"
|
|
||||||
"HsInstances"
|
|
||||||
"HsPat"
|
|
||||||
"HsSyn"
|
|
||||||
"HsTypes"
|
|
||||||
"HsUtils"
|
|
||||||
"HsDumpAst"
|
|
||||||
"BinIface"
|
|
||||||
"BinFingerprint"
|
|
||||||
"BuildTyCl"
|
|
||||||
"IfaceEnv"
|
|
||||||
"IfaceSyn"
|
|
||||||
"IfaceType"
|
|
||||||
"ToIface"
|
|
||||||
"LoadIface"
|
|
||||||
"MkIface"
|
|
||||||
"TcIface"
|
|
||||||
"FlagChecker"
|
|
||||||
"Annotations"
|
|
||||||
"CmdLineParser"
|
|
||||||
"CodeOutput"
|
|
||||||
"Config"
|
|
||||||
"Constants"
|
|
||||||
"DriverMkDepend"
|
|
||||||
"DriverPhases"
|
|
||||||
"PipelineMonad"
|
|
||||||
"DriverPipeline"
|
|
||||||
"DynFlags"
|
|
||||||
"ErrUtils"
|
|
||||||
"Finder"
|
|
||||||
"GHC"
|
|
||||||
"GhcMake"
|
|
||||||
"GhcPlugins"
|
|
||||||
"DynamicLoading"
|
|
||||||
"HeaderInfo"
|
|
||||||
"HscMain"
|
|
||||||
"HscStats"
|
|
||||||
"HscTypes"
|
|
||||||
"InteractiveEval"
|
|
||||||
"InteractiveEvalTypes"
|
|
||||||
"PackageConfig"
|
|
||||||
"Packages"
|
|
||||||
"PlatformConstants"
|
|
||||||
"Plugins"
|
|
||||||
"TcPluginM"
|
|
||||||
"PprTyThing"
|
|
||||||
"StaticPtrTable"
|
|
||||||
"SysTools"
|
|
||||||
"SysTools/BaseDir"
|
|
||||||
"SysTools/Terminal"
|
|
||||||
"SysTools/ExtraObj"
|
|
||||||
"SysTools/Info"
|
|
||||||
"SysTools/Process"
|
|
||||||
"SysTools/Tasks"
|
|
||||||
"Elf"
|
|
||||||
"TidyPgm"
|
|
||||||
"Ctype"
|
|
||||||
"HaddockUtils"
|
|
||||||
"Lexer"
|
|
||||||
"OptCoercion"
|
|
||||||
"Parser"
|
|
||||||
"RdrHsSyn"
|
|
||||||
"ApiAnnotation"
|
|
||||||
"ForeignCall"
|
|
||||||
"KnownUniques"
|
|
||||||
"PrelInfo"
|
|
||||||
"PrelNames"
|
|
||||||
"PrelRules"
|
|
||||||
"PrimOp"
|
|
||||||
"TysPrim"
|
|
||||||
"TysWiredIn"
|
|
||||||
"CostCentre"
|
|
||||||
"CostCentreState"
|
|
||||||
"ProfInit"
|
|
||||||
"RnBinds"
|
|
||||||
"RnEnv"
|
|
||||||
"RnExpr"
|
|
||||||
"RnHsDoc"
|
|
||||||
"RnNames"
|
|
||||||
"RnPat"
|
|
||||||
"RnSource"
|
|
||||||
"RnSplice"
|
|
||||||
"RnTypes"
|
|
||||||
"RnFixity"
|
|
||||||
"RnUtils"
|
|
||||||
"RnUnbound"
|
|
||||||
"CoreMonad"
|
|
||||||
"CSE"
|
|
||||||
"FloatIn"
|
|
||||||
"FloatOut"
|
|
||||||
"LiberateCase"
|
|
||||||
"OccurAnal"
|
|
||||||
"SAT"
|
|
||||||
"SetLevels"
|
|
||||||
"SimplCore"
|
|
||||||
"SimplEnv"
|
|
||||||
"SimplMonad"
|
|
||||||
"SimplUtils"
|
|
||||||
"Simplify"
|
|
||||||
"SimplStg"
|
|
||||||
"StgStats"
|
|
||||||
"StgCse"
|
|
||||||
"StgLiftLams"
|
|
||||||
"StgLiftLams/Analysis"
|
|
||||||
"StgLiftLams/LiftM"
|
|
||||||
"StgLiftLams/Transformation"
|
|
||||||
"StgSubst"
|
|
||||||
"UnariseStg"
|
|
||||||
"RepType"
|
|
||||||
"Rules"
|
|
||||||
"SpecConstr"
|
|
||||||
"Specialise"
|
|
||||||
"CoreToStg"
|
|
||||||
"StgLint"
|
|
||||||
"StgSyn"
|
|
||||||
"StgFVs"
|
|
||||||
"CallArity"
|
|
||||||
"DmdAnal"
|
|
||||||
"Exitify"
|
|
||||||
"WorkWrap"
|
|
||||||
"WwLib"
|
|
||||||
"FamInst"
|
|
||||||
"ClsInst"
|
|
||||||
"Inst"
|
|
||||||
"TcAnnotations"
|
|
||||||
"TcArrows"
|
|
||||||
"TcBinds"
|
|
||||||
"TcSigs"
|
|
||||||
"TcClassDcl"
|
|
||||||
"TcDefaults"
|
|
||||||
"TcDeriv"
|
|
||||||
"TcDerivInfer"
|
|
||||||
"TcDerivUtils"
|
|
||||||
"TcEnv"
|
|
||||||
"TcExpr"
|
|
||||||
"TcForeign"
|
|
||||||
"TcGenDeriv"
|
|
||||||
"TcGenFunctor"
|
|
||||||
"TcGenGenerics"
|
|
||||||
"TcHsSyn"
|
|
||||||
"TcHsType"
|
|
||||||
"TcInstDcls"
|
|
||||||
"TcMType"
|
|
||||||
"TcValidity"
|
|
||||||
"TcMatches"
|
|
||||||
"TcPat"
|
|
||||||
"TcPatSyn"
|
|
||||||
"TcRnDriver"
|
|
||||||
"TcBackpack"
|
|
||||||
"TcRnExports"
|
|
||||||
"TcRnMonad"
|
|
||||||
"TcRnTypes"
|
|
||||||
"TcRules"
|
|
||||||
"TcSimplify"
|
|
||||||
"TcHoleErrors"
|
|
||||||
"TcErrors"
|
|
||||||
"TcTyClsDecls"
|
|
||||||
"TcTyDecls"
|
|
||||||
"TcTypeable"
|
|
||||||
"TcTypeableValidity"
|
|
||||||
"TcType"
|
|
||||||
"TcEvidence"
|
|
||||||
"TcEvTerm"
|
|
||||||
"TcUnify"
|
|
||||||
"TcInteract"
|
|
||||||
"TcCanonical"
|
|
||||||
"TcFlatten"
|
|
||||||
"TcSMonad"
|
|
||||||
"TcTypeNats"
|
|
||||||
"TcSplice"
|
|
||||||
"Class"
|
|
||||||
"Coercion"
|
|
||||||
"DsMeta"
|
|
||||||
"THNames"
|
|
||||||
"FamInstEnv"
|
|
||||||
"FunDeps"
|
|
||||||
"InstEnv"
|
|
||||||
"TyCon"
|
|
||||||
"CoAxiom"
|
|
||||||
"Kind"
|
|
||||||
"Type"
|
|
||||||
"TyCoRep"
|
|
||||||
"Unify"
|
|
||||||
"Bag"
|
|
||||||
"Binary"
|
|
||||||
"BooleanFormula"
|
|
||||||
"BufWrite"
|
|
||||||
"Digraph"
|
|
||||||
"Encoding"
|
|
||||||
"FastFunctions"
|
|
||||||
"FastMutInt"
|
|
||||||
"FastString"
|
|
||||||
"FastStringEnv"
|
|
||||||
"Fingerprint"
|
|
||||||
"FiniteMap"
|
|
||||||
"FV"
|
|
||||||
"GraphBase"
|
|
||||||
"GraphColor"
|
|
||||||
"GraphOps"
|
|
||||||
"GraphPpr"
|
|
||||||
"IOEnv"
|
|
||||||
"Json"
|
|
||||||
"ListSetOps"
|
|
||||||
"ListT"
|
|
||||||
"Maybes"
|
|
||||||
"MonadUtils"
|
|
||||||
"OrdList"
|
|
||||||
"Outputable"
|
|
||||||
"Pair"
|
|
||||||
"Panic"
|
|
||||||
"PlainPanic"
|
|
||||||
"PprColour"
|
|
||||||
"Pretty"
|
|
||||||
"State"
|
|
||||||
"Stream"
|
|
||||||
"StringBuffer"
|
|
||||||
"UniqDFM"
|
|
||||||
"UniqDSet"
|
|
||||||
"UniqFM"
|
|
||||||
"UniqMap"
|
|
||||||
"UniqSet"
|
|
||||||
"Util"
|
|
||||||
"Hoopl/Block"
|
|
||||||
"Hoopl/Collections"
|
|
||||||
"Hoopl/Dataflow"
|
|
||||||
"Hoopl/Graph"
|
|
||||||
"Hoopl/Label"
|
|
||||||
"AsmCodeGen"
|
|
||||||
"TargetReg"
|
|
||||||
"NCGMonad"
|
|
||||||
"Instruction"
|
|
||||||
"BlockLayout"
|
|
||||||
"CFG"
|
|
||||||
"Format"
|
|
||||||
"Reg"
|
|
||||||
"RegClass"
|
|
||||||
"PIC"
|
|
||||||
"Platform"
|
|
||||||
"CPrim"
|
|
||||||
"X86/Regs"
|
|
||||||
"X86/RegInfo"
|
|
||||||
"X86/Instr"
|
|
||||||
"X86/Cond"
|
|
||||||
"X86/Ppr"
|
|
||||||
"X86/CodeGen"
|
|
||||||
"PPC/Regs"
|
|
||||||
"PPC/RegInfo"
|
|
||||||
"PPC/Instr"
|
|
||||||
"PPC/Cond"
|
|
||||||
"PPC/Ppr"
|
|
||||||
"PPC/CodeGen"
|
|
||||||
"SPARC/Base"
|
|
||||||
"SPARC/Regs"
|
|
||||||
"SPARC/Imm"
|
|
||||||
"SPARC/AddrMode"
|
|
||||||
"SPARC/Cond"
|
|
||||||
"SPARC/Instr"
|
|
||||||
"SPARC/Stack"
|
|
||||||
"SPARC/ShortcutJump"
|
|
||||||
"SPARC/Ppr"
|
|
||||||
"SPARC/CodeGen"
|
|
||||||
"SPARC/CodeGen/Amode"
|
|
||||||
"SPARC/CodeGen/Base"
|
|
||||||
"SPARC/CodeGen/CondCode"
|
|
||||||
"SPARC/CodeGen/Gen32"
|
|
||||||
"SPARC/CodeGen/Gen64"
|
|
||||||
"SPARC/CodeGen/Sanity"
|
|
||||||
"SPARC/CodeGen/Expand"
|
|
||||||
"RegAlloc/Liveness"
|
|
||||||
"RegAlloc/Graph/Main"
|
|
||||||
"RegAlloc/Graph/Stats"
|
|
||||||
"RegAlloc/Graph/ArchBase"
|
|
||||||
"RegAlloc/Graph/ArchX86"
|
|
||||||
"RegAlloc/Graph/Coalesce"
|
|
||||||
"RegAlloc/Graph/Spill"
|
|
||||||
"RegAlloc/Graph/SpillClean"
|
|
||||||
"RegAlloc/Graph/SpillCost"
|
|
||||||
"RegAlloc/Graph/TrivColorable"
|
|
||||||
"RegAlloc/Linear/Main"
|
|
||||||
"RegAlloc/Linear/JoinToTargets"
|
|
||||||
"RegAlloc/Linear/State"
|
|
||||||
"RegAlloc/Linear/Stats"
|
|
||||||
"RegAlloc/Linear/FreeRegs"
|
|
||||||
"RegAlloc/Linear/StackMap"
|
|
||||||
"RegAlloc/Linear/Base"
|
|
||||||
"RegAlloc/Linear/X86/FreeRegs"
|
|
||||||
"RegAlloc/Linear/X86_64/FreeRegs"
|
|
||||||
"RegAlloc/Linear/PPC/FreeRegs"
|
|
||||||
"RegAlloc/Linear/SPARC/FreeRegs"
|
|
||||||
"Dwarf"
|
|
||||||
"Dwarf/Types"
|
|
||||||
"Dwarf/Constants"
|
|
||||||
"Convert"
|
|
||||||
"ByteCodeTypes"
|
|
||||||
"ByteCodeAsm"
|
|
||||||
"ByteCodeGen"
|
|
||||||
"ByteCodeInstr"
|
|
||||||
"ByteCodeItbls"
|
|
||||||
"ByteCodeLink"
|
|
||||||
"Debugger"
|
|
||||||
"Linker"
|
|
||||||
"RtClosureInspect"
|
|
||||||
"GHCi"
|
|
||||||
];
|
|
||||||
cSources = [
|
|
||||||
"parser/cutils.c"
|
|
||||||
"ghci/keepCAFsForGHCi.c"
|
|
||||||
"cbits/genSym.c"
|
|
||||||
];
|
|
||||||
hsSourceDirs = [
|
|
||||||
"backpack"
|
|
||||||
"basicTypes"
|
|
||||||
"cmm"
|
|
||||||
"codeGen"
|
|
||||||
"coreSyn"
|
|
||||||
"deSugar"
|
|
||||||
"ghci"
|
|
||||||
"hsSyn"
|
|
||||||
"iface"
|
|
||||||
"llvmGen"
|
|
||||||
"main"
|
|
||||||
"nativeGen"
|
|
||||||
"parser"
|
|
||||||
"prelude"
|
|
||||||
"profiling"
|
|
||||||
"rename"
|
|
||||||
"simplCore"
|
|
||||||
"simplStg"
|
|
||||||
"specialise"
|
|
||||||
"stgSyn"
|
|
||||||
"stranal"
|
|
||||||
"typecheck"
|
|
||||||
"types"
|
|
||||||
"utils"
|
|
||||||
"hieFile"
|
|
||||||
];
|
|
||||||
includeDirs = [
|
|
||||||
"."
|
|
||||||
"parser"
|
|
||||||
"utils"
|
|
||||||
] ++ (pkgs.lib).optional (flags.ghci) "../rts/dist/build";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../compiler; }
|
|
@ -1,101 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = { ghci = false; };
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "ghci"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "";
|
|
||||||
maintainer = "ghc-devs@haskell.org";
|
|
||||||
author = "";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "The library supporting GHC's interactive interpreter";
|
|
||||||
description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend.";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [ "LICENSE" ];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [ "changelog.md" ];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
|
||||||
buildable = true;
|
|
||||||
modules = [
|
|
||||||
"GHCi/BreakArray"
|
|
||||||
"GHCi/BinaryArray"
|
|
||||||
"GHCi/Message"
|
|
||||||
"GHCi/ResolvedBCO"
|
|
||||||
"GHCi/RemoteTypes"
|
|
||||||
"GHCi/FFI"
|
|
||||||
"GHCi/InfoTable"
|
|
||||||
"GHCi/StaticPtrTable"
|
|
||||||
"GHCi/TH/Binary"
|
|
||||||
"SizedSeq"
|
|
||||||
] ++ (pkgs.lib).optionals (flags.ghci) [
|
|
||||||
"GHCi/Run"
|
|
||||||
"GHCi/CreateBCO"
|
|
||||||
"GHCi/ObjLink"
|
|
||||||
"GHCi/Signals"
|
|
||||||
"GHCi/TH"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../libraries/ghci; }
|
|
@ -1,86 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "iserv-proxy"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "XXX";
|
|
||||||
maintainer = "XXX";
|
|
||||||
author = "XXX";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "iserv allows GHC to delegate Tempalte Haskell computations";
|
|
||||||
description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\niserv can also be used in combination with cross compilation. For\nthis, the @iserv-proxy@ needs to be built on the host, targeting the\nhost (as it is running on the host). @cabal install -flibrary\n-fproxy@ will yield the proxy.\n\nUsing the cabal for the target @arch-platform-target-cabal install\n-flibrary@ will build the required library that contains the ffi\n@startSlave@ function, which needs to be invoked on the target\n(e.g. in an iOS application) to start the remote iserv slave.\n\ncalling the GHC cross compiler with @-fexternal-interpreter\n-pgmi=\$HOME/.cabal/bin/iserv-proxy -opti\\<ip address\\> -opti\\<port\\>@\nwill cause it to compile Template Haskell via the remote at \\<ip address\\>.\n\nThus to get cross compilation with Template Haskell follow the\nfollowing receipt:\n\n* compile the iserv library for your target\n\n> iserv \$ arch-platform-target-cabal install -flibrary\n\n* setup an application for your target that calls the\n* startSlave function. This could be either haskell or your\n* targets ffi capable language, if needed.\n\n> void startSlave(false /* verbose */, 5000 /* port */,\n> \"/path/to/storagelocation/on/target\");\n\n* build the iserv-proxy\n\n> iserv \$ cabal install -flibrary -fproxy\n* Start your iserv-slave app on your target running on say @10.0.0.1:5000@\n* compiler your sources with -fexternal-interpreter and the proxy\n\n> project \$ arch-platform-target-ghc ModuleContainingTH.hs \\\n> -fexternal-interpreter \\\n> -pgmi=\$HOME/.cabal/bin/iserv-proxy \\\n> -opti10.0.0.1 -opti5000\n\nShould something not work as expected, provide @-opti-v@ for verbose\nlogging of the @iserv-proxy@.";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
exes = {
|
|
||||||
"iserv-proxy" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
hsSourceDirs = [ "src" ];
|
|
||||||
mainPath = [ "Main.hs" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../utils/iserv-proxy; }
|
|
@ -1,85 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "iserv"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "XXX";
|
|
||||||
maintainer = "XXX";
|
|
||||||
author = "XXX";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "iserv allows GHC to delegate Template Haskell computations";
|
|
||||||
description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\nTo use iserv with cross compilers, please see @libraries/libiserv@\nand @utils/iserv-proxy@.";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
exes = {
|
|
||||||
"iserv" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
|
||||||
buildable = true;
|
|
||||||
cSources = [ "cbits/iservmain.c" ];
|
|
||||||
hsSourceDirs = [ "src" ];
|
|
||||||
includeDirs = [ "." ];
|
|
||||||
mainPath = [ "Main.hs" ] ++ [ "" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../utils/iserv; }
|
|
@ -1,89 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = { network = false; };
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "libiserv"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "XXX";
|
|
||||||
maintainer = "XXX";
|
|
||||||
author = "XXX";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "Provides shared functionality between iserv and iserv-proxy";
|
|
||||||
description = "";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [ "LICENSE" ];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = ([
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
|
||||||
] ++ (pkgs.lib).optionals (flags.network) [
|
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
|
||||||
buildable = true;
|
|
||||||
modules = [
|
|
||||||
"Lib"
|
|
||||||
"GHCi/Utils"
|
|
||||||
] ++ (pkgs.lib).optionals (flags.network) [
|
|
||||||
"Remote/Message"
|
|
||||||
"Remote/Slave"
|
|
||||||
];
|
|
||||||
hsSourceDirs = [ "src" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../libraries/libiserv; }
|
|
@ -1,77 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "remote-iserv"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "XXX";
|
|
||||||
maintainer = "Moritz Angermann <moritz.angermann@gmail.com>";
|
|
||||||
author = "Moritz Angermann <moritz.angermann@gmail.com>";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "iserv allows GHC to delegate Tempalte Haskell computations";
|
|
||||||
description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running libiserv on a given port to which iserv-proxy will\nthen connect.";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
exes = {
|
|
||||||
"remote-iserv" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
hsSourceDirs = [ "src" ];
|
|
||||||
mainPath = [ "Cli.hs" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../utils/remote-iserv; }
|
|
@ -1,94 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs = hackage:
|
|
||||||
{
|
|
||||||
packages = {
|
|
||||||
"binary".revision = (((hackage."binary")."0.8.8.0").revisions).default;
|
|
||||||
"ghc-prim".revision = (((hackage."ghc-prim")."0.5.3").revisions).default;
|
|
||||||
"unix".revision = (((hackage."unix")."2.7.2.2").revisions).default;
|
|
||||||
"ghc-heap".revision = (((hackage."ghc-heap")."8.8.2").revisions).default;
|
|
||||||
"mtl".revision = (((hackage."mtl")."2.2.2").revisions).default;
|
|
||||||
"rts".revision = (((hackage."rts")."1.0").revisions).default;
|
|
||||||
"alex".revision = (((hackage."alex")."3.2.5").revisions).default;
|
|
||||||
"alex".flags.small_base = true;
|
|
||||||
"deepseq".revision = (((hackage."deepseq")."1.4.4.0").revisions).default;
|
|
||||||
"network".revision = (((hackage."network")."2.8.0.1").revisions).default;
|
|
||||||
"directory".revision = (((hackage."directory")."1.3.6.1").revisions).default;
|
|
||||||
"template-haskell".revision = (((hackage."template-haskell")."2.15.0.0").revisions).default;
|
|
||||||
"containers".revision = (((hackage."containers")."0.6.2.1").revisions).default;
|
|
||||||
"base".revision = (((hackage."base")."4.13.0.0").revisions).default;
|
|
||||||
"time".revision = (((hackage."time")."1.9.3").revisions).default;
|
|
||||||
"terminfo".revision = (((hackage."terminfo")."0.4.1.4").revisions).default;
|
|
||||||
"transformers".revision = (((hackage."transformers")."0.5.6.2").revisions).default;
|
|
||||||
"happy".revision = (((hackage."happy")."1.19.12").revisions).default;
|
|
||||||
"happy".flags.small_base = true;
|
|
||||||
"hpc".revision = (((hackage."hpc")."0.6.0.3").revisions).default;
|
|
||||||
"filepath".revision = (((hackage."filepath")."1.4.2.1").revisions).default;
|
|
||||||
"process".revision = (((hackage."process")."1.6.8.2").revisions).default;
|
|
||||||
"pretty".revision = (((hackage."pretty")."1.1.3.6").revisions).default;
|
|
||||||
"ghc-boot-th".revision = (((hackage."ghc-boot-th")."8.8.2").revisions).default;
|
|
||||||
"array".revision = (((hackage."array")."0.5.4.0").revisions).default;
|
|
||||||
"integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default;
|
|
||||||
};
|
|
||||||
compiler = {
|
|
||||||
version = "8.8.2";
|
|
||||||
nix-name = "ghc882";
|
|
||||||
packages = {
|
|
||||||
"ghc-prim" = "0.5.3";
|
|
||||||
"ghc-heap" = "8.8.2";
|
|
||||||
"mtl" = "2.2.2";
|
|
||||||
"rts" = "1.0";
|
|
||||||
"deepseq" = "1.4.4.0";
|
|
||||||
"template-haskell" = "2.15.0.0";
|
|
||||||
"containers" = "0.6.2.1";
|
|
||||||
"base" = "4.13.0.0";
|
|
||||||
"time" = "1.9.3";
|
|
||||||
"transformers" = "0.5.6.2";
|
|
||||||
"filepath" = "1.4.2.1";
|
|
||||||
"pretty" = "1.1.3.6";
|
|
||||||
"ghc-boot-th" = "8.8.2";
|
|
||||||
"array" = "0.5.4.0";
|
|
||||||
"integer-gmp" = "1.0.2.0";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
extras = hackage:
|
|
||||||
{
|
|
||||||
packages = {
|
|
||||||
ghc = ./.plan.nix/ghc.nix;
|
|
||||||
bytestring = ./.plan.nix/bytestring.nix;
|
|
||||||
remote-iserv = ./.plan.nix/remote-iserv.nix;
|
|
||||||
iserv-proxy = ./.plan.nix/iserv-proxy.nix;
|
|
||||||
libiserv = ./.plan.nix/libiserv.nix;
|
|
||||||
ghc-boot = ./.plan.nix/ghc-boot.nix;
|
|
||||||
ghci = ./.plan.nix/ghci.nix;
|
|
||||||
iserv = ./.plan.nix/iserv.nix;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
modules = [
|
|
||||||
({ lib, ... }:
|
|
||||||
{
|
|
||||||
packages = {
|
|
||||||
"ghc" = {
|
|
||||||
flags = {
|
|
||||||
"stage1" = lib.mkOverride 900 false;
|
|
||||||
"stage2" = lib.mkOverride 900 true;
|
|
||||||
"integer-gmp" = lib.mkOverride 900 false;
|
|
||||||
"stage3" = lib.mkOverride 900 false;
|
|
||||||
"ghci" = lib.mkOverride 900 true;
|
|
||||||
"integer-simple" = lib.mkOverride 900 false;
|
|
||||||
"terminfo" = lib.mkOverride 900 true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"bytestring" = {
|
|
||||||
flags = { "integer-simple" = lib.mkOverride 900 false; };
|
|
||||||
};
|
|
||||||
"remote-iserv" = { flags = {}; };
|
|
||||||
"iserv-proxy" = { flags = {}; };
|
|
||||||
"libiserv" = { flags = { "network" = lib.mkOverride 900 true; }; };
|
|
||||||
"ghc-boot" = { flags = {}; };
|
|
||||||
"ghci" = { flags = { "ghci" = lib.mkOverride 900 true; }; };
|
|
||||||
"iserv" = { flags = {}; };
|
|
||||||
};
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}
|
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { integer-simple = false; };
|
flags = { integer-simple = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -64,10 +33,10 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = ([
|
depends = ([
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer"));
|
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (errorHandler.buildDepError "integer"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
"Data/ByteString/Builder/ASCII"
|
"Data/ByteString/Builder/ASCII"
|
||||||
@ -101,14 +70,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
tests = {
|
tests = {
|
||||||
"prop-compiled" = {
|
"prop-compiled" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
(hsPkgs."random" or (errorHandler.buildDepError "random"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
(hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2"))
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [ "Rules" "QuickCheckUtils" "TestFramework" ];
|
modules = [ "Rules" "QuickCheckUtils" "TestFramework" ];
|
||||||
@ -119,14 +88,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
};
|
};
|
||||||
"regressions" = {
|
"regressions" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
(hsPkgs."random" or (errorHandler.buildDepError "random"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit"))
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit"))
|
||||||
];
|
];
|
||||||
buildable = false;
|
buildable = false;
|
||||||
cSources = [ "cbits/fpstring.c" ];
|
cSources = [ "cbits/fpstring.c" ];
|
||||||
@ -136,18 +105,18 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
};
|
};
|
||||||
"test-builder" = {
|
"test-builder" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
|
||||||
(hsPkgs."byteorder" or (buildDepError "byteorder"))
|
(hsPkgs."byteorder" or (errorHandler.buildDepError "byteorder"))
|
||||||
(hsPkgs."dlist" or (buildDepError "dlist"))
|
(hsPkgs."dlist" or (errorHandler.buildDepError "dlist"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."mtl" or (buildDepError "mtl"))
|
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit"))
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
(hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -64,12 +33,12 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {
|
flags = {
|
||||||
ghci = false;
|
ghci = false;
|
||||||
@ -77,31 +46,31 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = ((([
|
depends = ((([
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."process" or (buildDepError "process"))
|
(hsPkgs."process" or (errorHandler.buildDepError "process"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."time" or (buildDepError "time"))
|
(hsPkgs."time" or (errorHandler.buildDepError "time"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell"))
|
||||||
(hsPkgs."hpc" or (buildDepError "hpc"))
|
(hsPkgs."hpc" or (errorHandler.buildDepError "hpc"))
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
(hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
(hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
] ++ (if system.isWindows
|
] ++ (if system.isWindows
|
||||||
then [ (hsPkgs."Win32" or (buildDepError "Win32")) ]
|
then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ]
|
||||||
else [
|
else [
|
||||||
(hsPkgs."unix" or (buildDepError "unix"))
|
(hsPkgs."unix" or (errorHandler.buildDepError "unix"))
|
||||||
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (buildDepError "integer-simple"));
|
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (errorHandler.buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (errorHandler.buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (errorHandler.buildDepError "integer-simple"));
|
||||||
build-tools = [
|
build-tools = [
|
||||||
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex")))
|
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex")))
|
||||||
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy")))
|
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (errorHandler.buildToolDepError "happy")))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { ghci = false; };
|
flags = { ghci = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -64,19 +33,19 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
(hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
(hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap"))
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell"))
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
"GHCi/BreakArray"
|
"GHCi/BreakArray"
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -65,17 +34,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"iserv-proxy" = {
|
"iserv-proxy" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
(hsPkgs."network" or (errorHandler.buildDepError "network"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
hsSourceDirs = [ "src" ];
|
hsSourceDirs = [ "src" ];
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -65,15 +34,15 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"iserv" = {
|
"iserv" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
cSources = [ "cbits/iservmain.c" ];
|
cSources = [ "cbits/iservmain.c" ];
|
||||||
hsSourceDirs = [ "src" ];
|
hsSourceDirs = [ "src" ];
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { network = false; };
|
flags = { network = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -64,17 +33,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = ([
|
depends = ([
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
] ++ (pkgs.lib).optionals (flags.network) [
|
] ++ (pkgs.lib).optionals (flags.network) [
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
(hsPkgs."network" or (errorHandler.buildDepError "network"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
"Lib"
|
"Lib"
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -65,8 +34,8 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"remote-iserv" = {
|
"remote-iserv" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
hsSourceDirs = [ "src" ];
|
hsSourceDirs = [ "src" ];
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { integer-simple = false; };
|
flags = { integer-simple = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -64,10 +33,10 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = ([
|
depends = ([
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer"));
|
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (errorHandler.buildDepError "integer"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
"Data/ByteString/Builder/ASCII"
|
"Data/ByteString/Builder/ASCII"
|
||||||
@ -101,14 +70,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
tests = {
|
tests = {
|
||||||
"prop-compiled" = {
|
"prop-compiled" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
(hsPkgs."random" or (errorHandler.buildDepError "random"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
(hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2"))
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [ "Rules" "QuickCheckUtils" "TestFramework" ];
|
modules = [ "Rules" "QuickCheckUtils" "TestFramework" ];
|
||||||
@ -119,14 +88,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
};
|
};
|
||||||
"regressions" = {
|
"regressions" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
(hsPkgs."random" or (errorHandler.buildDepError "random"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit"))
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit"))
|
||||||
];
|
];
|
||||||
buildable = false;
|
buildable = false;
|
||||||
cSources = [ "cbits/fpstring.c" ];
|
cSources = [ "cbits/fpstring.c" ];
|
||||||
@ -136,18 +105,18 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
};
|
};
|
||||||
"test-builder" = {
|
"test-builder" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
|
||||||
(hsPkgs."byteorder" or (buildDepError "byteorder"))
|
(hsPkgs."byteorder" or (errorHandler.buildDepError "byteorder"))
|
||||||
(hsPkgs."dlist" or (buildDepError "dlist"))
|
(hsPkgs."dlist" or (errorHandler.buildDepError "dlist"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."mtl" or (buildDepError "mtl"))
|
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit"))
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
(hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -64,12 +33,12 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {
|
flags = {
|
||||||
ghci = false;
|
ghci = false;
|
||||||
@ -75,31 +44,31 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."process" or (buildDepError "process"))
|
(hsPkgs."process" or (errorHandler.buildDepError "process"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."time" or (buildDepError "time"))
|
(hsPkgs."time" or (errorHandler.buildDepError "time"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell"))
|
||||||
(hsPkgs."hpc" or (buildDepError "hpc"))
|
(hsPkgs."hpc" or (errorHandler.buildDepError "hpc"))
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
(hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
(hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
] ++ (if system.isWindows
|
] ++ (if system.isWindows
|
||||||
then [ (hsPkgs."Win32" or (buildDepError "Win32")) ]
|
then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ]
|
||||||
else [
|
else [
|
||||||
(hsPkgs."unix" or (buildDepError "unix"))
|
(hsPkgs."unix" or (errorHandler.buildDepError "unix"))
|
||||||
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")));
|
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (errorHandler.buildDepError "terminfo")));
|
||||||
build-tools = [
|
build-tools = [
|
||||||
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex")))
|
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex")))
|
||||||
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy")))
|
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (errorHandler.buildToolDepError "happy")))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { ghci = false; };
|
flags = { ghci = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -64,19 +33,19 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
(hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
(hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap"))
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell"))
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
"GHCi/BreakArray"
|
"GHCi/BreakArray"
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -65,17 +34,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"iserv-proxy" = {
|
"iserv-proxy" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
(hsPkgs."network" or (errorHandler.buildDepError "network"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
hsSourceDirs = [ "src" ];
|
hsSourceDirs = [ "src" ];
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -65,15 +34,15 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"iserv" = {
|
"iserv" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
cSources = [ "cbits/iservmain.c" ];
|
cSources = [ "cbits/iservmain.c" ];
|
||||||
hsSourceDirs = [ "src" ];
|
hsSourceDirs = [ "src" ];
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { network = false; };
|
flags = { network = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -64,17 +33,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = ([
|
depends = ([
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
] ++ (pkgs.lib).optionals (flags.network) [
|
] ++ (pkgs.lib).optionals (flags.network) [
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
(hsPkgs."network" or (errorHandler.buildDepError "network"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
"Lib"
|
"Lib"
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -65,8 +34,8 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"remote-iserv" = {
|
"remote-iserv" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
hsSourceDirs = [ "src" ];
|
hsSourceDirs = [ "src" ];
|
||||||
|
@ -1,167 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = { integer-simple = false; };
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "bytestring"; version = "0.10.10.0"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "Copyright (c) Don Stewart 2005-2009,\n(c) Duncan Coutts 2006-2015,\n(c) David Roundy 2003-2005,\n(c) Jasper Van der Jeugt 2010,\n(c) Simon Meier 2010-2013.";
|
|
||||||
maintainer = "Duncan Coutts <duncan@community.haskell.org>";
|
|
||||||
author = "Don Stewart,\nDuncan Coutts";
|
|
||||||
homepage = "https://github.com/haskell/bytestring";
|
|
||||||
url = "";
|
|
||||||
synopsis = "Fast, compact, strict and lazy byte strings with a list interface";
|
|
||||||
description = "An efficient compact, immutable byte string type (both strict and lazy)\nsuitable for binary or 8-bit character data.\n\nThe 'ByteString' type represents sequences of bytes or 8-bit characters.\nIt is suitable for high performance use, both in terms of large data\nquantities, or high speed requirements. The 'ByteString' functions follow\nthe same style as Haskell\\'s ordinary lists, so it is easy to convert code\nfrom using 'String' to 'ByteString'.\n\nTwo 'ByteString' variants are provided:\n\n* Strict 'ByteString's keep the string as a single large array. This\nmakes them convenient for passing data between C and Haskell.\n\n* Lazy 'ByteString's use a lazy list of strict chunks which makes it\nsuitable for I\\/O streaming tasks.\n\nThe @Char8@ modules provide a character-based view of the same\nunderlying 'ByteString' types. This makes it convenient to handle mixed\nbinary and 8-bit character content (which is common in many file formats\nand network protocols).\n\nThe 'Builder' module provides an efficient way to build up 'ByteString's\nin an ad-hoc way by repeated concatenation. This is ideal for fast\nserialisation or pretty printing.\n\nThere is also a 'ShortByteString' type which has a lower memory overhead\nand can can be converted to or from a 'ByteString', but supports very few\nother operations. It is suitable for keeping many short strings in memory.\n\n'ByteString's are not designed for Unicode. For Unicode strings you should\nuse the 'Text' type from the @text@ package.\n\nThese modules are intended to be imported qualified, to avoid name clashes\nwith \"Prelude\" functions, e.g.\n\n> import qualified Data.ByteString as BS";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [ "LICENSE" ];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [ "README.md" "Changelog.md" ];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = ([
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer"));
|
|
||||||
buildable = true;
|
|
||||||
modules = [
|
|
||||||
"Data/ByteString/Builder/ASCII"
|
|
||||||
"Data/ByteString/Builder/Prim/Binary"
|
|
||||||
"Data/ByteString/Builder/Prim/ASCII"
|
|
||||||
"Data/ByteString/Builder/Prim/Internal/Floating"
|
|
||||||
"Data/ByteString/Builder/Prim/Internal/UncheckedShifts"
|
|
||||||
"Data/ByteString/Builder/Prim/Internal/Base16"
|
|
||||||
"Data/ByteString"
|
|
||||||
"Data/ByteString/Char8"
|
|
||||||
"Data/ByteString/Unsafe"
|
|
||||||
"Data/ByteString/Internal"
|
|
||||||
"Data/ByteString/Lazy"
|
|
||||||
"Data/ByteString/Lazy/Char8"
|
|
||||||
"Data/ByteString/Lazy/Internal"
|
|
||||||
"Data/ByteString/Short"
|
|
||||||
"Data/ByteString/Short/Internal"
|
|
||||||
"Data/ByteString/Builder"
|
|
||||||
"Data/ByteString/Builder/Extra"
|
|
||||||
"Data/ByteString/Builder/Prim"
|
|
||||||
"Data/ByteString/Builder/Internal"
|
|
||||||
"Data/ByteString/Builder/Prim/Internal"
|
|
||||||
"Data/ByteString/Lazy/Builder"
|
|
||||||
"Data/ByteString/Lazy/Builder/Extras"
|
|
||||||
"Data/ByteString/Lazy/Builder/ASCII"
|
|
||||||
];
|
|
||||||
cSources = [ "cbits/fpstring.c" "cbits/itoa.c" ];
|
|
||||||
includeDirs = [ "include" ];
|
|
||||||
includes = [ "fpstring.h" ];
|
|
||||||
};
|
|
||||||
tests = {
|
|
||||||
"prop-compiled" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
modules = [ "Rules" "QuickCheckUtils" "TestFramework" ];
|
|
||||||
cSources = [ "cbits/fpstring.c" ];
|
|
||||||
hsSourceDirs = [ "." "tests" ];
|
|
||||||
includeDirs = [ "include" ];
|
|
||||||
mainPath = [ "Properties.hs" ];
|
|
||||||
};
|
|
||||||
"regressions" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
|
||||||
];
|
|
||||||
buildable = false;
|
|
||||||
cSources = [ "cbits/fpstring.c" ];
|
|
||||||
hsSourceDirs = [ "." "tests" ];
|
|
||||||
includeDirs = [ "include" ];
|
|
||||||
mainPath = [ "Regressions.hs" ];
|
|
||||||
};
|
|
||||||
"test-builder" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
|
||||||
(hsPkgs."byteorder" or (buildDepError "byteorder"))
|
|
||||||
(hsPkgs."dlist" or (buildDepError "dlist"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."mtl" or (buildDepError "mtl"))
|
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
modules = [
|
|
||||||
"Data/ByteString/Builder/Tests"
|
|
||||||
"Data/ByteString/Builder/Prim/Tests"
|
|
||||||
"Data/ByteString/Builder/Prim/TestUtils"
|
|
||||||
"TestFramework"
|
|
||||||
];
|
|
||||||
cSources = [ "cbits/fpstring.c" "cbits/itoa.c" ];
|
|
||||||
hsSourceDirs = [ "." "tests" "tests/builder" ];
|
|
||||||
includeDirs = [ "include" ];
|
|
||||||
includes = [ "fpstring.h" ];
|
|
||||||
mainPath = [ "TestSuite.hs" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../libraries/bytestring; }
|
|
@ -1,84 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.22";
|
|
||||||
identifier = { name = "ghc-boot"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "";
|
|
||||||
maintainer = "ghc-devs@haskell.org";
|
|
||||||
author = "";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "Shared functionality between GHC and its boot libraries";
|
|
||||||
description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n\nA note about \"GHC.PackageDb\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal.";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [ "LICENSE" ];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [ "changelog.md" ];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
modules = [
|
|
||||||
"GHC/LanguageExtensions"
|
|
||||||
"GHC/PackageDb"
|
|
||||||
"GHC/Serialized"
|
|
||||||
"GHC/ForeignSrcLang"
|
|
||||||
"GHC/HandleEncoding"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../libraries/ghc-boot; }
|
|
@ -1,608 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {
|
|
||||||
ghci = false;
|
|
||||||
stage1 = false;
|
|
||||||
stage2 = true;
|
|
||||||
stage3 = false;
|
|
||||||
terminfo = true;
|
|
||||||
integer-simple = false;
|
|
||||||
integer-gmp = false;
|
|
||||||
};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "ghc"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "";
|
|
||||||
maintainer = "glasgow-haskell-users@haskell.org";
|
|
||||||
author = "The GHC Team";
|
|
||||||
homepage = "http://www.haskell.org/ghc/";
|
|
||||||
url = "";
|
|
||||||
synopsis = "The GHC API";
|
|
||||||
description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [ "LICENSE" ];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [
|
|
||||||
"utils/md5.h"
|
|
||||||
"Unique.h"
|
|
||||||
"nativeGen/NCG.h"
|
|
||||||
"parser/cutils.h"
|
|
||||||
];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = ((([
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."process" or (buildDepError "process"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."time" or (buildDepError "time"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
|
||||||
(hsPkgs."hpc" or (buildDepError "hpc"))
|
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
|
||||||
] ++ (if system.isWindows
|
|
||||||
then [ (hsPkgs."Win32" or (buildDepError "Win32")) ]
|
|
||||||
else [
|
|
||||||
(hsPkgs."unix" or (buildDepError "unix"))
|
|
||||||
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (buildDepError "integer-simple"));
|
|
||||||
build-tools = [
|
|
||||||
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex")))
|
|
||||||
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy")))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
modules = [
|
|
||||||
"GhcPrelude"
|
|
||||||
"HieTypes"
|
|
||||||
"HieDebug"
|
|
||||||
"HieBin"
|
|
||||||
"HieUtils"
|
|
||||||
"HieAst"
|
|
||||||
"Ar"
|
|
||||||
"FileCleanup"
|
|
||||||
"DriverBkp"
|
|
||||||
"BkpSyn"
|
|
||||||
"NameShape"
|
|
||||||
"RnModIface"
|
|
||||||
"Avail"
|
|
||||||
"AsmUtils"
|
|
||||||
"BasicTypes"
|
|
||||||
"ConLike"
|
|
||||||
"DataCon"
|
|
||||||
"PatSyn"
|
|
||||||
"Demand"
|
|
||||||
"Debug"
|
|
||||||
"Exception"
|
|
||||||
"FieldLabel"
|
|
||||||
"GhcMonad"
|
|
||||||
"Hooks"
|
|
||||||
"Id"
|
|
||||||
"IdInfo"
|
|
||||||
"Lexeme"
|
|
||||||
"Literal"
|
|
||||||
"Llvm"
|
|
||||||
"Llvm/AbsSyn"
|
|
||||||
"Llvm/MetaData"
|
|
||||||
"Llvm/PpLlvm"
|
|
||||||
"Llvm/Types"
|
|
||||||
"LlvmCodeGen"
|
|
||||||
"LlvmCodeGen/Base"
|
|
||||||
"LlvmCodeGen/CodeGen"
|
|
||||||
"LlvmCodeGen/Data"
|
|
||||||
"LlvmCodeGen/Ppr"
|
|
||||||
"LlvmCodeGen/Regs"
|
|
||||||
"LlvmMangler"
|
|
||||||
"MkId"
|
|
||||||
"Module"
|
|
||||||
"Name"
|
|
||||||
"NameEnv"
|
|
||||||
"NameSet"
|
|
||||||
"OccName"
|
|
||||||
"RdrName"
|
|
||||||
"NameCache"
|
|
||||||
"SrcLoc"
|
|
||||||
"UniqSupply"
|
|
||||||
"Unique"
|
|
||||||
"Var"
|
|
||||||
"VarEnv"
|
|
||||||
"VarSet"
|
|
||||||
"UnVarGraph"
|
|
||||||
"BlockId"
|
|
||||||
"CLabel"
|
|
||||||
"Cmm"
|
|
||||||
"CmmBuildInfoTables"
|
|
||||||
"CmmPipeline"
|
|
||||||
"CmmCallConv"
|
|
||||||
"CmmCommonBlockElim"
|
|
||||||
"CmmImplementSwitchPlans"
|
|
||||||
"CmmContFlowOpt"
|
|
||||||
"CmmExpr"
|
|
||||||
"CmmInfo"
|
|
||||||
"CmmLex"
|
|
||||||
"CmmLint"
|
|
||||||
"CmmLive"
|
|
||||||
"CmmMachOp"
|
|
||||||
"CmmMonad"
|
|
||||||
"CmmSwitch"
|
|
||||||
"CmmNode"
|
|
||||||
"CmmOpt"
|
|
||||||
"CmmParse"
|
|
||||||
"CmmProcPoint"
|
|
||||||
"CmmSink"
|
|
||||||
"CmmType"
|
|
||||||
"CmmUtils"
|
|
||||||
"CmmLayoutStack"
|
|
||||||
"EnumSet"
|
|
||||||
"MkGraph"
|
|
||||||
"PprBase"
|
|
||||||
"PprC"
|
|
||||||
"PprCmm"
|
|
||||||
"PprCmmDecl"
|
|
||||||
"PprCmmExpr"
|
|
||||||
"Bitmap"
|
|
||||||
"CodeGen/Platform"
|
|
||||||
"CodeGen/Platform/ARM"
|
|
||||||
"CodeGen/Platform/ARM64"
|
|
||||||
"CodeGen/Platform/NoRegs"
|
|
||||||
"CodeGen/Platform/PPC"
|
|
||||||
"CodeGen/Platform/SPARC"
|
|
||||||
"CodeGen/Platform/X86"
|
|
||||||
"CodeGen/Platform/X86_64"
|
|
||||||
"CgUtils"
|
|
||||||
"StgCmm"
|
|
||||||
"StgCmmBind"
|
|
||||||
"StgCmmClosure"
|
|
||||||
"StgCmmCon"
|
|
||||||
"StgCmmEnv"
|
|
||||||
"StgCmmExpr"
|
|
||||||
"StgCmmForeign"
|
|
||||||
"StgCmmHeap"
|
|
||||||
"StgCmmHpc"
|
|
||||||
"StgCmmArgRep"
|
|
||||||
"StgCmmLayout"
|
|
||||||
"StgCmmMonad"
|
|
||||||
"StgCmmPrim"
|
|
||||||
"StgCmmProf"
|
|
||||||
"StgCmmTicky"
|
|
||||||
"StgCmmUtils"
|
|
||||||
"StgCmmExtCode"
|
|
||||||
"SMRep"
|
|
||||||
"CoreArity"
|
|
||||||
"CoreFVs"
|
|
||||||
"CoreLint"
|
|
||||||
"CorePrep"
|
|
||||||
"CoreSubst"
|
|
||||||
"CoreOpt"
|
|
||||||
"CoreSyn"
|
|
||||||
"TrieMap"
|
|
||||||
"CoreTidy"
|
|
||||||
"CoreUnfold"
|
|
||||||
"CoreUtils"
|
|
||||||
"CoreMap"
|
|
||||||
"CoreSeq"
|
|
||||||
"CoreStats"
|
|
||||||
"MkCore"
|
|
||||||
"PprCore"
|
|
||||||
"PmExpr"
|
|
||||||
"TmOracle"
|
|
||||||
"Check"
|
|
||||||
"Coverage"
|
|
||||||
"Desugar"
|
|
||||||
"DsArrows"
|
|
||||||
"DsBinds"
|
|
||||||
"DsCCall"
|
|
||||||
"DsExpr"
|
|
||||||
"DsForeign"
|
|
||||||
"DsGRHSs"
|
|
||||||
"DsListComp"
|
|
||||||
"DsMonad"
|
|
||||||
"DsUsage"
|
|
||||||
"DsUtils"
|
|
||||||
"ExtractDocs"
|
|
||||||
"Match"
|
|
||||||
"MatchCon"
|
|
||||||
"MatchLit"
|
|
||||||
"HsBinds"
|
|
||||||
"HsDecls"
|
|
||||||
"HsDoc"
|
|
||||||
"HsExpr"
|
|
||||||
"HsImpExp"
|
|
||||||
"HsLit"
|
|
||||||
"PlaceHolder"
|
|
||||||
"HsExtension"
|
|
||||||
"HsInstances"
|
|
||||||
"HsPat"
|
|
||||||
"HsSyn"
|
|
||||||
"HsTypes"
|
|
||||||
"HsUtils"
|
|
||||||
"HsDumpAst"
|
|
||||||
"BinIface"
|
|
||||||
"BinFingerprint"
|
|
||||||
"BuildTyCl"
|
|
||||||
"IfaceEnv"
|
|
||||||
"IfaceSyn"
|
|
||||||
"IfaceType"
|
|
||||||
"ToIface"
|
|
||||||
"LoadIface"
|
|
||||||
"MkIface"
|
|
||||||
"TcIface"
|
|
||||||
"FlagChecker"
|
|
||||||
"Annotations"
|
|
||||||
"CmdLineParser"
|
|
||||||
"CodeOutput"
|
|
||||||
"Config"
|
|
||||||
"Constants"
|
|
||||||
"DriverMkDepend"
|
|
||||||
"DriverPhases"
|
|
||||||
"PipelineMonad"
|
|
||||||
"DriverPipeline"
|
|
||||||
"DynFlags"
|
|
||||||
"ErrUtils"
|
|
||||||
"Finder"
|
|
||||||
"GHC"
|
|
||||||
"GhcMake"
|
|
||||||
"GhcPlugins"
|
|
||||||
"DynamicLoading"
|
|
||||||
"HeaderInfo"
|
|
||||||
"HscMain"
|
|
||||||
"HscStats"
|
|
||||||
"HscTypes"
|
|
||||||
"InteractiveEval"
|
|
||||||
"InteractiveEvalTypes"
|
|
||||||
"PackageConfig"
|
|
||||||
"Packages"
|
|
||||||
"PlatformConstants"
|
|
||||||
"Plugins"
|
|
||||||
"TcPluginM"
|
|
||||||
"PprTyThing"
|
|
||||||
"StaticPtrTable"
|
|
||||||
"SysTools"
|
|
||||||
"SysTools/BaseDir"
|
|
||||||
"SysTools/Terminal"
|
|
||||||
"SysTools/ExtraObj"
|
|
||||||
"SysTools/Info"
|
|
||||||
"SysTools/Process"
|
|
||||||
"SysTools/Tasks"
|
|
||||||
"Elf"
|
|
||||||
"TidyPgm"
|
|
||||||
"Ctype"
|
|
||||||
"HaddockUtils"
|
|
||||||
"Lexer"
|
|
||||||
"OptCoercion"
|
|
||||||
"Parser"
|
|
||||||
"RdrHsSyn"
|
|
||||||
"ApiAnnotation"
|
|
||||||
"ForeignCall"
|
|
||||||
"KnownUniques"
|
|
||||||
"PrelInfo"
|
|
||||||
"PrelNames"
|
|
||||||
"PrelRules"
|
|
||||||
"PrimOp"
|
|
||||||
"TysPrim"
|
|
||||||
"TysWiredIn"
|
|
||||||
"CostCentre"
|
|
||||||
"CostCentreState"
|
|
||||||
"ProfInit"
|
|
||||||
"RnBinds"
|
|
||||||
"RnEnv"
|
|
||||||
"RnExpr"
|
|
||||||
"RnHsDoc"
|
|
||||||
"RnNames"
|
|
||||||
"RnPat"
|
|
||||||
"RnSource"
|
|
||||||
"RnSplice"
|
|
||||||
"RnTypes"
|
|
||||||
"RnFixity"
|
|
||||||
"RnUtils"
|
|
||||||
"RnUnbound"
|
|
||||||
"CoreMonad"
|
|
||||||
"CSE"
|
|
||||||
"FloatIn"
|
|
||||||
"FloatOut"
|
|
||||||
"LiberateCase"
|
|
||||||
"OccurAnal"
|
|
||||||
"SAT"
|
|
||||||
"SetLevels"
|
|
||||||
"SimplCore"
|
|
||||||
"SimplEnv"
|
|
||||||
"SimplMonad"
|
|
||||||
"SimplUtils"
|
|
||||||
"Simplify"
|
|
||||||
"SimplStg"
|
|
||||||
"StgStats"
|
|
||||||
"StgCse"
|
|
||||||
"StgLiftLams"
|
|
||||||
"StgLiftLams/Analysis"
|
|
||||||
"StgLiftLams/LiftM"
|
|
||||||
"StgLiftLams/Transformation"
|
|
||||||
"StgSubst"
|
|
||||||
"UnariseStg"
|
|
||||||
"RepType"
|
|
||||||
"Rules"
|
|
||||||
"SpecConstr"
|
|
||||||
"Specialise"
|
|
||||||
"CoreToStg"
|
|
||||||
"StgLint"
|
|
||||||
"StgSyn"
|
|
||||||
"StgFVs"
|
|
||||||
"CallArity"
|
|
||||||
"DmdAnal"
|
|
||||||
"Exitify"
|
|
||||||
"WorkWrap"
|
|
||||||
"WwLib"
|
|
||||||
"FamInst"
|
|
||||||
"ClsInst"
|
|
||||||
"Inst"
|
|
||||||
"TcAnnotations"
|
|
||||||
"TcArrows"
|
|
||||||
"TcBinds"
|
|
||||||
"TcSigs"
|
|
||||||
"TcClassDcl"
|
|
||||||
"TcDefaults"
|
|
||||||
"TcDeriv"
|
|
||||||
"TcDerivInfer"
|
|
||||||
"TcDerivUtils"
|
|
||||||
"TcEnv"
|
|
||||||
"TcExpr"
|
|
||||||
"TcForeign"
|
|
||||||
"TcGenDeriv"
|
|
||||||
"TcGenFunctor"
|
|
||||||
"TcGenGenerics"
|
|
||||||
"TcHsSyn"
|
|
||||||
"TcHsType"
|
|
||||||
"TcInstDcls"
|
|
||||||
"TcMType"
|
|
||||||
"TcValidity"
|
|
||||||
"TcMatches"
|
|
||||||
"TcPat"
|
|
||||||
"TcPatSyn"
|
|
||||||
"TcRnDriver"
|
|
||||||
"TcBackpack"
|
|
||||||
"TcRnExports"
|
|
||||||
"TcRnMonad"
|
|
||||||
"TcRnTypes"
|
|
||||||
"TcRules"
|
|
||||||
"TcSimplify"
|
|
||||||
"TcHoleErrors"
|
|
||||||
"TcErrors"
|
|
||||||
"TcTyClsDecls"
|
|
||||||
"TcTyDecls"
|
|
||||||
"TcTypeable"
|
|
||||||
"TcTypeableValidity"
|
|
||||||
"TcType"
|
|
||||||
"TcEvidence"
|
|
||||||
"TcEvTerm"
|
|
||||||
"TcUnify"
|
|
||||||
"TcInteract"
|
|
||||||
"TcCanonical"
|
|
||||||
"TcFlatten"
|
|
||||||
"TcSMonad"
|
|
||||||
"TcTypeNats"
|
|
||||||
"TcSplice"
|
|
||||||
"Class"
|
|
||||||
"Coercion"
|
|
||||||
"DsMeta"
|
|
||||||
"THNames"
|
|
||||||
"FamInstEnv"
|
|
||||||
"FunDeps"
|
|
||||||
"InstEnv"
|
|
||||||
"TyCon"
|
|
||||||
"CoAxiom"
|
|
||||||
"Kind"
|
|
||||||
"Type"
|
|
||||||
"TyCoRep"
|
|
||||||
"Unify"
|
|
||||||
"Bag"
|
|
||||||
"Binary"
|
|
||||||
"BooleanFormula"
|
|
||||||
"BufWrite"
|
|
||||||
"Digraph"
|
|
||||||
"Encoding"
|
|
||||||
"FastFunctions"
|
|
||||||
"FastMutInt"
|
|
||||||
"FastString"
|
|
||||||
"FastStringEnv"
|
|
||||||
"Fingerprint"
|
|
||||||
"FiniteMap"
|
|
||||||
"FV"
|
|
||||||
"GraphBase"
|
|
||||||
"GraphColor"
|
|
||||||
"GraphOps"
|
|
||||||
"GraphPpr"
|
|
||||||
"IOEnv"
|
|
||||||
"Json"
|
|
||||||
"ListSetOps"
|
|
||||||
"ListT"
|
|
||||||
"Maybes"
|
|
||||||
"MonadUtils"
|
|
||||||
"OrdList"
|
|
||||||
"Outputable"
|
|
||||||
"Pair"
|
|
||||||
"Panic"
|
|
||||||
"PlainPanic"
|
|
||||||
"PprColour"
|
|
||||||
"Pretty"
|
|
||||||
"State"
|
|
||||||
"Stream"
|
|
||||||
"StringBuffer"
|
|
||||||
"UniqDFM"
|
|
||||||
"UniqDSet"
|
|
||||||
"UniqFM"
|
|
||||||
"UniqMap"
|
|
||||||
"UniqSet"
|
|
||||||
"Util"
|
|
||||||
"Hoopl/Block"
|
|
||||||
"Hoopl/Collections"
|
|
||||||
"Hoopl/Dataflow"
|
|
||||||
"Hoopl/Graph"
|
|
||||||
"Hoopl/Label"
|
|
||||||
"AsmCodeGen"
|
|
||||||
"TargetReg"
|
|
||||||
"NCGMonad"
|
|
||||||
"Instruction"
|
|
||||||
"BlockLayout"
|
|
||||||
"CFG"
|
|
||||||
"Format"
|
|
||||||
"Reg"
|
|
||||||
"RegClass"
|
|
||||||
"PIC"
|
|
||||||
"Platform"
|
|
||||||
"CPrim"
|
|
||||||
"X86/Regs"
|
|
||||||
"X86/RegInfo"
|
|
||||||
"X86/Instr"
|
|
||||||
"X86/Cond"
|
|
||||||
"X86/Ppr"
|
|
||||||
"X86/CodeGen"
|
|
||||||
"PPC/Regs"
|
|
||||||
"PPC/RegInfo"
|
|
||||||
"PPC/Instr"
|
|
||||||
"PPC/Cond"
|
|
||||||
"PPC/Ppr"
|
|
||||||
"PPC/CodeGen"
|
|
||||||
"SPARC/Base"
|
|
||||||
"SPARC/Regs"
|
|
||||||
"SPARC/Imm"
|
|
||||||
"SPARC/AddrMode"
|
|
||||||
"SPARC/Cond"
|
|
||||||
"SPARC/Instr"
|
|
||||||
"SPARC/Stack"
|
|
||||||
"SPARC/ShortcutJump"
|
|
||||||
"SPARC/Ppr"
|
|
||||||
"SPARC/CodeGen"
|
|
||||||
"SPARC/CodeGen/Amode"
|
|
||||||
"SPARC/CodeGen/Base"
|
|
||||||
"SPARC/CodeGen/CondCode"
|
|
||||||
"SPARC/CodeGen/Gen32"
|
|
||||||
"SPARC/CodeGen/Gen64"
|
|
||||||
"SPARC/CodeGen/Sanity"
|
|
||||||
"SPARC/CodeGen/Expand"
|
|
||||||
"RegAlloc/Liveness"
|
|
||||||
"RegAlloc/Graph/Main"
|
|
||||||
"RegAlloc/Graph/Stats"
|
|
||||||
"RegAlloc/Graph/ArchBase"
|
|
||||||
"RegAlloc/Graph/ArchX86"
|
|
||||||
"RegAlloc/Graph/Coalesce"
|
|
||||||
"RegAlloc/Graph/Spill"
|
|
||||||
"RegAlloc/Graph/SpillClean"
|
|
||||||
"RegAlloc/Graph/SpillCost"
|
|
||||||
"RegAlloc/Graph/TrivColorable"
|
|
||||||
"RegAlloc/Linear/Main"
|
|
||||||
"RegAlloc/Linear/JoinToTargets"
|
|
||||||
"RegAlloc/Linear/State"
|
|
||||||
"RegAlloc/Linear/Stats"
|
|
||||||
"RegAlloc/Linear/FreeRegs"
|
|
||||||
"RegAlloc/Linear/StackMap"
|
|
||||||
"RegAlloc/Linear/Base"
|
|
||||||
"RegAlloc/Linear/X86/FreeRegs"
|
|
||||||
"RegAlloc/Linear/X86_64/FreeRegs"
|
|
||||||
"RegAlloc/Linear/PPC/FreeRegs"
|
|
||||||
"RegAlloc/Linear/SPARC/FreeRegs"
|
|
||||||
"Dwarf"
|
|
||||||
"Dwarf/Types"
|
|
||||||
"Dwarf/Constants"
|
|
||||||
"Convert"
|
|
||||||
"ByteCodeTypes"
|
|
||||||
"ByteCodeAsm"
|
|
||||||
"ByteCodeGen"
|
|
||||||
"ByteCodeInstr"
|
|
||||||
"ByteCodeItbls"
|
|
||||||
"ByteCodeLink"
|
|
||||||
"Debugger"
|
|
||||||
"Linker"
|
|
||||||
"RtClosureInspect"
|
|
||||||
"GHCi"
|
|
||||||
];
|
|
||||||
cSources = [
|
|
||||||
"parser/cutils.c"
|
|
||||||
"ghci/keepCAFsForGHCi.c"
|
|
||||||
"cbits/genSym.c"
|
|
||||||
];
|
|
||||||
hsSourceDirs = [
|
|
||||||
"backpack"
|
|
||||||
"basicTypes"
|
|
||||||
"cmm"
|
|
||||||
"codeGen"
|
|
||||||
"coreSyn"
|
|
||||||
"deSugar"
|
|
||||||
"ghci"
|
|
||||||
"hsSyn"
|
|
||||||
"iface"
|
|
||||||
"llvmGen"
|
|
||||||
"main"
|
|
||||||
"nativeGen"
|
|
||||||
"parser"
|
|
||||||
"prelude"
|
|
||||||
"profiling"
|
|
||||||
"rename"
|
|
||||||
"simplCore"
|
|
||||||
"simplStg"
|
|
||||||
"specialise"
|
|
||||||
"stgSyn"
|
|
||||||
"stranal"
|
|
||||||
"typecheck"
|
|
||||||
"types"
|
|
||||||
"utils"
|
|
||||||
"hieFile"
|
|
||||||
];
|
|
||||||
includeDirs = [
|
|
||||||
"."
|
|
||||||
"parser"
|
|
||||||
"utils"
|
|
||||||
] ++ (pkgs.lib).optional (flags.ghci) "../rts/dist/build";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../compiler; }
|
|
@ -1,101 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = { ghci = false; };
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "ghci"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "";
|
|
||||||
maintainer = "ghc-devs@haskell.org";
|
|
||||||
author = "";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "The library supporting GHC's interactive interpreter";
|
|
||||||
description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend.";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [ "LICENSE" ];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [ "changelog.md" ];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
|
||||||
buildable = true;
|
|
||||||
modules = [
|
|
||||||
"GHCi/BreakArray"
|
|
||||||
"GHCi/BinaryArray"
|
|
||||||
"GHCi/Message"
|
|
||||||
"GHCi/ResolvedBCO"
|
|
||||||
"GHCi/RemoteTypes"
|
|
||||||
"GHCi/FFI"
|
|
||||||
"GHCi/InfoTable"
|
|
||||||
"GHCi/StaticPtrTable"
|
|
||||||
"GHCi/TH/Binary"
|
|
||||||
"SizedSeq"
|
|
||||||
] ++ (pkgs.lib).optionals (flags.ghci) [
|
|
||||||
"GHCi/Run"
|
|
||||||
"GHCi/CreateBCO"
|
|
||||||
"GHCi/ObjLink"
|
|
||||||
"GHCi/Signals"
|
|
||||||
"GHCi/TH"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../libraries/ghci; }
|
|
@ -1,86 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "iserv-proxy"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "XXX";
|
|
||||||
maintainer = "XXX";
|
|
||||||
author = "XXX";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "iserv allows GHC to delegate Tempalte Haskell computations";
|
|
||||||
description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\niserv can also be used in combination with cross compilation. For\nthis, the @iserv-proxy@ needs to be built on the host, targeting the\nhost (as it is running on the host). @cabal install -flibrary\n-fproxy@ will yield the proxy.\n\nUsing the cabal for the target @arch-platform-target-cabal install\n-flibrary@ will build the required library that contains the ffi\n@startSlave@ function, which needs to be invoked on the target\n(e.g. in an iOS application) to start the remote iserv slave.\n\ncalling the GHC cross compiler with @-fexternal-interpreter\n-pgmi=\$HOME/.cabal/bin/iserv-proxy -opti\\<ip address\\> -opti\\<port\\>@\nwill cause it to compile Template Haskell via the remote at \\<ip address\\>.\n\nThus to get cross compilation with Template Haskell follow the\nfollowing receipt:\n\n* compile the iserv library for your target\n\n> iserv \$ arch-platform-target-cabal install -flibrary\n\n* setup an application for your target that calls the\n* startSlave function. This could be either haskell or your\n* targets ffi capable language, if needed.\n\n> void startSlave(false /* verbose */, 5000 /* port */,\n> \"/path/to/storagelocation/on/target\");\n\n* build the iserv-proxy\n\n> iserv \$ cabal install -flibrary -fproxy\n* Start your iserv-slave app on your target running on say @10.0.0.1:5000@\n* compiler your sources with -fexternal-interpreter and the proxy\n\n> project \$ arch-platform-target-ghc ModuleContainingTH.hs \\\n> -fexternal-interpreter \\\n> -pgmi=\$HOME/.cabal/bin/iserv-proxy \\\n> -opti10.0.0.1 -opti5000\n\nShould something not work as expected, provide @-opti-v@ for verbose\nlogging of the @iserv-proxy@.";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
exes = {
|
|
||||||
"iserv-proxy" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
hsSourceDirs = [ "src" ];
|
|
||||||
mainPath = [ "Main.hs" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../utils/iserv-proxy; }
|
|
@ -1,85 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "iserv"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "XXX";
|
|
||||||
maintainer = "XXX";
|
|
||||||
author = "XXX";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "iserv allows GHC to delegate Template Haskell computations";
|
|
||||||
description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\nTo use iserv with cross compilers, please see @libraries/libiserv@\nand @utils/iserv-proxy@.";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
exes = {
|
|
||||||
"iserv" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
|
||||||
buildable = true;
|
|
||||||
cSources = [ "cbits/iservmain.c" ];
|
|
||||||
hsSourceDirs = [ "src" ];
|
|
||||||
includeDirs = [ "." ];
|
|
||||||
mainPath = [ "Main.hs" ] ++ [ "" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../utils/iserv; }
|
|
@ -1,89 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = { network = false; };
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "libiserv"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "XXX";
|
|
||||||
maintainer = "XXX";
|
|
||||||
author = "XXX";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "Provides shared functionality between iserv and iserv-proxy";
|
|
||||||
description = "";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [ "LICENSE" ];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = ([
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
|
||||||
] ++ (pkgs.lib).optionals (flags.network) [
|
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
|
||||||
buildable = true;
|
|
||||||
modules = [
|
|
||||||
"Lib"
|
|
||||||
"GHCi/Utils"
|
|
||||||
] ++ (pkgs.lib).optionals (flags.network) [
|
|
||||||
"Remote/Message"
|
|
||||||
"Remote/Slave"
|
|
||||||
];
|
|
||||||
hsSourceDirs = [ "src" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../libraries/libiserv; }
|
|
@ -1,77 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "remote-iserv"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "XXX";
|
|
||||||
maintainer = "Moritz Angermann <moritz.angermann@gmail.com>";
|
|
||||||
author = "Moritz Angermann <moritz.angermann@gmail.com>";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "iserv allows GHC to delegate Tempalte Haskell computations";
|
|
||||||
description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running libiserv on a given port to which iserv-proxy will\nthen connect.";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
exes = {
|
|
||||||
"remote-iserv" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
hsSourceDirs = [ "src" ];
|
|
||||||
mainPath = [ "Cli.hs" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../utils/remote-iserv; }
|
|
@ -1,95 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs = hackage:
|
|
||||||
{
|
|
||||||
packages = {
|
|
||||||
"binary".revision = (((hackage."binary")."0.8.8.0").revisions).default;
|
|
||||||
"ghc-prim".revision = (((hackage."ghc-prim")."0.5.3").revisions).default;
|
|
||||||
"unix".revision = (((hackage."unix")."2.7.2.2").revisions).default;
|
|
||||||
"ghc-heap".revision = (((hackage."ghc-heap")."8.8.2").revisions).default;
|
|
||||||
"mtl".revision = (((hackage."mtl")."2.2.2").revisions).default;
|
|
||||||
"rts".revision = (((hackage."rts")."1.0").revisions).default;
|
|
||||||
"alex".revision = (((hackage."alex")."3.2.5").revisions).default;
|
|
||||||
"alex".flags.small_base = true;
|
|
||||||
"deepseq".revision = (((hackage."deepseq")."1.4.4.0").revisions).default;
|
|
||||||
"network".revision = (((hackage."network")."2.8.0.1").revisions).default;
|
|
||||||
"directory".revision = (((hackage."directory")."1.3.6.1").revisions).default;
|
|
||||||
"template-haskell".revision = (((hackage."template-haskell")."2.15.0.0").revisions).default;
|
|
||||||
"containers".revision = (((hackage."containers")."0.6.2.1").revisions).default;
|
|
||||||
"base".revision = (((hackage."base")."4.13.0.0").revisions).default;
|
|
||||||
"time".revision = (((hackage."time")."1.9.3").revisions).default;
|
|
||||||
"terminfo".revision = (((hackage."terminfo")."0.4.1.4").revisions).default;
|
|
||||||
"transformers".revision = (((hackage."transformers")."0.5.6.2").revisions).default;
|
|
||||||
"happy".revision = (((hackage."happy")."1.19.12").revisions).default;
|
|
||||||
"happy".flags.small_base = true;
|
|
||||||
"hpc".revision = (((hackage."hpc")."0.6.0.3").revisions).default;
|
|
||||||
"filepath".revision = (((hackage."filepath")."1.4.2.1").revisions).default;
|
|
||||||
"process".revision = (((hackage."process")."1.6.8.2").revisions).default;
|
|
||||||
"pretty".revision = (((hackage."pretty")."1.1.3.6").revisions).default;
|
|
||||||
"ghc-boot-th".revision = (((hackage."ghc-boot-th")."8.8.2").revisions).default;
|
|
||||||
"array".revision = (((hackage."array")."0.5.4.0").revisions).default;
|
|
||||||
"integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default;
|
|
||||||
};
|
|
||||||
compiler = {
|
|
||||||
version = "8.8.2";
|
|
||||||
nix-name = "ghc882";
|
|
||||||
packages = {
|
|
||||||
"ghc-prim" = "0.5.3";
|
|
||||||
"ghc-heap" = "8.8.2";
|
|
||||||
"mtl" = "2.2.2";
|
|
||||||
"rts" = "1.0";
|
|
||||||
"deepseq" = "1.4.4.0";
|
|
||||||
"template-haskell" = "2.15.0.0";
|
|
||||||
"containers" = "0.6.2.1";
|
|
||||||
"base" = "4.13.0.0";
|
|
||||||
"time" = "1.9.3";
|
|
||||||
"terminfo" = "0.4.1.4";
|
|
||||||
"transformers" = "0.5.6.2";
|
|
||||||
"filepath" = "1.4.2.1";
|
|
||||||
"pretty" = "1.1.3.6";
|
|
||||||
"ghc-boot-th" = "8.8.2";
|
|
||||||
"array" = "0.5.4.0";
|
|
||||||
"integer-gmp" = "1.0.2.0";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
extras = hackage:
|
|
||||||
{
|
|
||||||
packages = {
|
|
||||||
ghc = ./.plan.nix/ghc.nix;
|
|
||||||
bytestring = ./.plan.nix/bytestring.nix;
|
|
||||||
remote-iserv = ./.plan.nix/remote-iserv.nix;
|
|
||||||
iserv-proxy = ./.plan.nix/iserv-proxy.nix;
|
|
||||||
libiserv = ./.plan.nix/libiserv.nix;
|
|
||||||
ghc-boot = ./.plan.nix/ghc-boot.nix;
|
|
||||||
ghci = ./.plan.nix/ghci.nix;
|
|
||||||
iserv = ./.plan.nix/iserv.nix;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
modules = [
|
|
||||||
({ lib, ... }:
|
|
||||||
{
|
|
||||||
packages = {
|
|
||||||
"ghc" = {
|
|
||||||
flags = {
|
|
||||||
"stage1" = lib.mkOverride 900 false;
|
|
||||||
"stage2" = lib.mkOverride 900 true;
|
|
||||||
"integer-gmp" = lib.mkOverride 900 false;
|
|
||||||
"stage3" = lib.mkOverride 900 false;
|
|
||||||
"ghci" = lib.mkOverride 900 true;
|
|
||||||
"integer-simple" = lib.mkOverride 900 false;
|
|
||||||
"terminfo" = lib.mkOverride 900 true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"bytestring" = {
|
|
||||||
flags = { "integer-simple" = lib.mkOverride 900 false; };
|
|
||||||
};
|
|
||||||
"remote-iserv" = { flags = {}; };
|
|
||||||
"iserv-proxy" = { flags = {}; };
|
|
||||||
"libiserv" = { flags = { "network" = lib.mkOverride 900 true; }; };
|
|
||||||
"ghc-boot" = { flags = {}; };
|
|
||||||
"ghci" = { flags = { "ghci" = lib.mkOverride 900 true; }; };
|
|
||||||
"iserv" = { flags = {}; };
|
|
||||||
};
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}
|
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { integer-simple = false; };
|
flags = { integer-simple = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -64,10 +33,10 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = ([
|
depends = ([
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer"));
|
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (errorHandler.buildDepError "integer"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
"Data/ByteString/Builder/ASCII"
|
"Data/ByteString/Builder/ASCII"
|
||||||
@ -101,14 +70,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
tests = {
|
tests = {
|
||||||
"prop-compiled" = {
|
"prop-compiled" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
(hsPkgs."random" or (errorHandler.buildDepError "random"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
(hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2"))
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [ "Rules" "QuickCheckUtils" "TestFramework" ];
|
modules = [ "Rules" "QuickCheckUtils" "TestFramework" ];
|
||||||
@ -119,14 +88,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
};
|
};
|
||||||
"regressions" = {
|
"regressions" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
(hsPkgs."random" or (errorHandler.buildDepError "random"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit"))
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit"))
|
||||||
];
|
];
|
||||||
buildable = false;
|
buildable = false;
|
||||||
cSources = [ "cbits/fpstring.c" ];
|
cSources = [ "cbits/fpstring.c" ];
|
||||||
@ -136,18 +105,18 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
};
|
};
|
||||||
"test-builder" = {
|
"test-builder" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
|
||||||
(hsPkgs."byteorder" or (buildDepError "byteorder"))
|
(hsPkgs."byteorder" or (errorHandler.buildDepError "byteorder"))
|
||||||
(hsPkgs."dlist" or (buildDepError "dlist"))
|
(hsPkgs."dlist" or (errorHandler.buildDepError "dlist"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."mtl" or (buildDepError "mtl"))
|
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit"))
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
(hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -64,12 +33,12 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {
|
flags = {
|
||||||
ghci = false;
|
ghci = false;
|
||||||
@ -77,31 +46,31 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = ((([
|
depends = ((([
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."process" or (buildDepError "process"))
|
(hsPkgs."process" or (errorHandler.buildDepError "process"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."time" or (buildDepError "time"))
|
(hsPkgs."time" or (errorHandler.buildDepError "time"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell"))
|
||||||
(hsPkgs."hpc" or (buildDepError "hpc"))
|
(hsPkgs."hpc" or (errorHandler.buildDepError "hpc"))
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
(hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
(hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
] ++ (if system.isWindows
|
] ++ (if system.isWindows
|
||||||
then [ (hsPkgs."Win32" or (buildDepError "Win32")) ]
|
then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ]
|
||||||
else [
|
else [
|
||||||
(hsPkgs."unix" or (buildDepError "unix"))
|
(hsPkgs."unix" or (errorHandler.buildDepError "unix"))
|
||||||
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (buildDepError "integer-simple"));
|
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (errorHandler.buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (errorHandler.buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (errorHandler.buildDepError "integer-simple"));
|
||||||
build-tools = [
|
build-tools = [
|
||||||
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex")))
|
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex")))
|
||||||
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy")))
|
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (errorHandler.buildToolDepError "happy")))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { ghci = false; };
|
flags = { ghci = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -64,19 +33,19 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
(hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
(hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap"))
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell"))
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
"GHCi/BreakArray"
|
"GHCi/BreakArray"
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -65,17 +34,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"iserv-proxy" = {
|
"iserv-proxy" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
(hsPkgs."network" or (errorHandler.buildDepError "network"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
hsSourceDirs = [ "src" ];
|
hsSourceDirs = [ "src" ];
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -65,15 +34,15 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"iserv" = {
|
"iserv" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
cSources = [ "cbits/iservmain.c" ];
|
cSources = [ "cbits/iservmain.c" ];
|
||||||
hsSourceDirs = [ "src" ];
|
hsSourceDirs = [ "src" ];
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { network = false; };
|
flags = { network = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -64,17 +33,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = ([
|
depends = ([
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
] ++ (pkgs.lib).optionals (flags.network) [
|
] ++ (pkgs.lib).optionals (flags.network) [
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
(hsPkgs."network" or (errorHandler.buildDepError "network"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
"Lib"
|
"Lib"
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -65,8 +34,8 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"remote-iserv" = {
|
"remote-iserv" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
hsSourceDirs = [ "src" ];
|
hsSourceDirs = [ "src" ];
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { integer-simple = false; };
|
flags = { integer-simple = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -64,10 +33,10 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = ([
|
depends = ([
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer"));
|
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (errorHandler.buildDepError "integer"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
"Data/ByteString/Builder/ASCII"
|
"Data/ByteString/Builder/ASCII"
|
||||||
@ -101,14 +70,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
tests = {
|
tests = {
|
||||||
"prop-compiled" = {
|
"prop-compiled" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
(hsPkgs."random" or (errorHandler.buildDepError "random"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
(hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2"))
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [ "Rules" "QuickCheckUtils" "TestFramework" ];
|
modules = [ "Rules" "QuickCheckUtils" "TestFramework" ];
|
||||||
@ -119,14 +88,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
};
|
};
|
||||||
"regressions" = {
|
"regressions" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
(hsPkgs."random" or (errorHandler.buildDepError "random"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit"))
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit"))
|
||||||
];
|
];
|
||||||
buildable = false;
|
buildable = false;
|
||||||
cSources = [ "cbits/fpstring.c" ];
|
cSources = [ "cbits/fpstring.c" ];
|
||||||
@ -136,18 +105,18 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
};
|
};
|
||||||
"test-builder" = {
|
"test-builder" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
|
||||||
(hsPkgs."byteorder" or (buildDepError "byteorder"))
|
(hsPkgs."byteorder" or (errorHandler.buildDepError "byteorder"))
|
||||||
(hsPkgs."dlist" or (buildDepError "dlist"))
|
(hsPkgs."dlist" or (errorHandler.buildDepError "dlist"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."mtl" or (buildDepError "mtl"))
|
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit"))
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
(hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -64,12 +33,12 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {
|
flags = {
|
||||||
ghci = false;
|
ghci = false;
|
||||||
@ -75,31 +44,31 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."process" or (buildDepError "process"))
|
(hsPkgs."process" or (errorHandler.buildDepError "process"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."time" or (buildDepError "time"))
|
(hsPkgs."time" or (errorHandler.buildDepError "time"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell"))
|
||||||
(hsPkgs."hpc" or (buildDepError "hpc"))
|
(hsPkgs."hpc" or (errorHandler.buildDepError "hpc"))
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
(hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
(hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
] ++ (if system.isWindows
|
] ++ (if system.isWindows
|
||||||
then [ (hsPkgs."Win32" or (buildDepError "Win32")) ]
|
then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ]
|
||||||
else [
|
else [
|
||||||
(hsPkgs."unix" or (buildDepError "unix"))
|
(hsPkgs."unix" or (errorHandler.buildDepError "unix"))
|
||||||
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")));
|
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (errorHandler.buildDepError "terminfo")));
|
||||||
build-tools = [
|
build-tools = [
|
||||||
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex")))
|
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex")))
|
||||||
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy")))
|
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (errorHandler.buildToolDepError "happy")))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { ghci = false; };
|
flags = { ghci = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -64,19 +33,19 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
(hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
(hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap"))
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell"))
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
"GHCi/BreakArray"
|
"GHCi/BreakArray"
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -65,17 +34,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"iserv-proxy" = {
|
"iserv-proxy" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
(hsPkgs."network" or (errorHandler.buildDepError "network"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
hsSourceDirs = [ "src" ];
|
hsSourceDirs = [ "src" ];
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -65,15 +34,15 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"iserv" = {
|
"iserv" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
cSources = [ "cbits/iservmain.c" ];
|
cSources = [ "cbits/iservmain.c" ];
|
||||||
hsSourceDirs = [ "src" ];
|
hsSourceDirs = [ "src" ];
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { network = false; };
|
flags = { network = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -64,17 +33,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = ([
|
depends = ([
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
] ++ (pkgs.lib).optionals (flags.network) [
|
] ++ (pkgs.lib).optionals (flags.network) [
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
(hsPkgs."network" or (errorHandler.buildDepError "network"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
"Lib"
|
"Lib"
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -65,8 +34,8 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"remote-iserv" = {
|
"remote-iserv" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
hsSourceDirs = [ "src" ];
|
hsSourceDirs = [ "src" ];
|
||||||
|
@ -1,167 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = { integer-simple = false; };
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "bytestring"; version = "0.10.10.0"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "Copyright (c) Don Stewart 2005-2009,\n(c) Duncan Coutts 2006-2015,\n(c) David Roundy 2003-2005,\n(c) Jasper Van der Jeugt 2010,\n(c) Simon Meier 2010-2013.";
|
|
||||||
maintainer = "Duncan Coutts <duncan@community.haskell.org>";
|
|
||||||
author = "Don Stewart,\nDuncan Coutts";
|
|
||||||
homepage = "https://github.com/haskell/bytestring";
|
|
||||||
url = "";
|
|
||||||
synopsis = "Fast, compact, strict and lazy byte strings with a list interface";
|
|
||||||
description = "An efficient compact, immutable byte string type (both strict and lazy)\nsuitable for binary or 8-bit character data.\n\nThe 'ByteString' type represents sequences of bytes or 8-bit characters.\nIt is suitable for high performance use, both in terms of large data\nquantities, or high speed requirements. The 'ByteString' functions follow\nthe same style as Haskell\\'s ordinary lists, so it is easy to convert code\nfrom using 'String' to 'ByteString'.\n\nTwo 'ByteString' variants are provided:\n\n* Strict 'ByteString's keep the string as a single large array. This\nmakes them convenient for passing data between C and Haskell.\n\n* Lazy 'ByteString's use a lazy list of strict chunks which makes it\nsuitable for I\\/O streaming tasks.\n\nThe @Char8@ modules provide a character-based view of the same\nunderlying 'ByteString' types. This makes it convenient to handle mixed\nbinary and 8-bit character content (which is common in many file formats\nand network protocols).\n\nThe 'Builder' module provides an efficient way to build up 'ByteString's\nin an ad-hoc way by repeated concatenation. This is ideal for fast\nserialisation or pretty printing.\n\nThere is also a 'ShortByteString' type which has a lower memory overhead\nand can can be converted to or from a 'ByteString', but supports very few\nother operations. It is suitable for keeping many short strings in memory.\n\n'ByteString's are not designed for Unicode. For Unicode strings you should\nuse the 'Text' type from the @text@ package.\n\nThese modules are intended to be imported qualified, to avoid name clashes\nwith \"Prelude\" functions, e.g.\n\n> import qualified Data.ByteString as BS";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [ "LICENSE" ];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [ "README.md" "Changelog.md" ];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = ([
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer"));
|
|
||||||
buildable = true;
|
|
||||||
modules = [
|
|
||||||
"Data/ByteString/Builder/ASCII"
|
|
||||||
"Data/ByteString/Builder/Prim/Binary"
|
|
||||||
"Data/ByteString/Builder/Prim/ASCII"
|
|
||||||
"Data/ByteString/Builder/Prim/Internal/Floating"
|
|
||||||
"Data/ByteString/Builder/Prim/Internal/UncheckedShifts"
|
|
||||||
"Data/ByteString/Builder/Prim/Internal/Base16"
|
|
||||||
"Data/ByteString"
|
|
||||||
"Data/ByteString/Char8"
|
|
||||||
"Data/ByteString/Unsafe"
|
|
||||||
"Data/ByteString/Internal"
|
|
||||||
"Data/ByteString/Lazy"
|
|
||||||
"Data/ByteString/Lazy/Char8"
|
|
||||||
"Data/ByteString/Lazy/Internal"
|
|
||||||
"Data/ByteString/Short"
|
|
||||||
"Data/ByteString/Short/Internal"
|
|
||||||
"Data/ByteString/Builder"
|
|
||||||
"Data/ByteString/Builder/Extra"
|
|
||||||
"Data/ByteString/Builder/Prim"
|
|
||||||
"Data/ByteString/Builder/Internal"
|
|
||||||
"Data/ByteString/Builder/Prim/Internal"
|
|
||||||
"Data/ByteString/Lazy/Builder"
|
|
||||||
"Data/ByteString/Lazy/Builder/Extras"
|
|
||||||
"Data/ByteString/Lazy/Builder/ASCII"
|
|
||||||
];
|
|
||||||
cSources = [ "cbits/fpstring.c" "cbits/itoa.c" ];
|
|
||||||
includeDirs = [ "include" ];
|
|
||||||
includes = [ "fpstring.h" ];
|
|
||||||
};
|
|
||||||
tests = {
|
|
||||||
"prop-compiled" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
modules = [ "Rules" "QuickCheckUtils" "TestFramework" ];
|
|
||||||
cSources = [ "cbits/fpstring.c" ];
|
|
||||||
hsSourceDirs = [ "." "tests" ];
|
|
||||||
includeDirs = [ "include" ];
|
|
||||||
mainPath = [ "Properties.hs" ];
|
|
||||||
};
|
|
||||||
"regressions" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
|
||||||
];
|
|
||||||
buildable = false;
|
|
||||||
cSources = [ "cbits/fpstring.c" ];
|
|
||||||
hsSourceDirs = [ "." "tests" ];
|
|
||||||
includeDirs = [ "include" ];
|
|
||||||
mainPath = [ "Regressions.hs" ];
|
|
||||||
};
|
|
||||||
"test-builder" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
|
||||||
(hsPkgs."byteorder" or (buildDepError "byteorder"))
|
|
||||||
(hsPkgs."dlist" or (buildDepError "dlist"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."mtl" or (buildDepError "mtl"))
|
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
modules = [
|
|
||||||
"Data/ByteString/Builder/Tests"
|
|
||||||
"Data/ByteString/Builder/Prim/Tests"
|
|
||||||
"Data/ByteString/Builder/Prim/TestUtils"
|
|
||||||
"TestFramework"
|
|
||||||
];
|
|
||||||
cSources = [ "cbits/fpstring.c" "cbits/itoa.c" ];
|
|
||||||
hsSourceDirs = [ "." "tests" "tests/builder" ];
|
|
||||||
includeDirs = [ "include" ];
|
|
||||||
includes = [ "fpstring.h" ];
|
|
||||||
mainPath = [ "TestSuite.hs" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../libraries/bytestring; }
|
|
@ -1,84 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.22";
|
|
||||||
identifier = { name = "ghc-boot"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "";
|
|
||||||
maintainer = "ghc-devs@haskell.org";
|
|
||||||
author = "";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "Shared functionality between GHC and its boot libraries";
|
|
||||||
description = "This library is shared between GHC, ghc-pkg, and other boot\nlibraries.\n\nA note about \"GHC.PackageDb\": it only deals with the subset of\nthe package database that the compiler cares about: modules\npaths etc and not package metadata like description, authors\netc. It is thus not a library interface to ghc-pkg and is *not*\nsuitable for modifying GHC package databases.\n\nThe package database format and this library are constructed in\nsuch a way that while ghc-pkg depends on Cabal, the GHC library\nand program do not have to depend on Cabal.";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [ "LICENSE" ];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [ "changelog.md" ];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
modules = [
|
|
||||||
"GHC/LanguageExtensions"
|
|
||||||
"GHC/PackageDb"
|
|
||||||
"GHC/Serialized"
|
|
||||||
"GHC/ForeignSrcLang"
|
|
||||||
"GHC/HandleEncoding"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../libraries/ghc-boot; }
|
|
@ -1,608 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {
|
|
||||||
ghci = false;
|
|
||||||
stage1 = false;
|
|
||||||
stage2 = true;
|
|
||||||
stage3 = false;
|
|
||||||
terminfo = true;
|
|
||||||
integer-simple = false;
|
|
||||||
integer-gmp = false;
|
|
||||||
};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "ghc"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "";
|
|
||||||
maintainer = "glasgow-haskell-users@haskell.org";
|
|
||||||
author = "The GHC Team";
|
|
||||||
homepage = "http://www.haskell.org/ghc/";
|
|
||||||
url = "";
|
|
||||||
synopsis = "The GHC API";
|
|
||||||
description = "GHC's functionality can be useful for more things than just\ncompiling Haskell programs. Important use cases are programs\nthat analyse (and perhaps transform) Haskell code. Others\ninclude loading Haskell code dynamically in a GHCi-like manner.\nFor this reason, a lot of GHC's functionality is made available\nthrough this package.";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [ "LICENSE" ];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [
|
|
||||||
"utils/md5.h"
|
|
||||||
"Unique.h"
|
|
||||||
"nativeGen/NCG.h"
|
|
||||||
"parser/cutils.h"
|
|
||||||
];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = ((([
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."process" or (buildDepError "process"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."time" or (buildDepError "time"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
|
||||||
(hsPkgs."hpc" or (buildDepError "hpc"))
|
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
|
||||||
] ++ (if system.isWindows
|
|
||||||
then [ (hsPkgs."Win32" or (buildDepError "Win32")) ]
|
|
||||||
else [
|
|
||||||
(hsPkgs."unix" or (buildDepError "unix"))
|
|
||||||
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (buildDepError "integer-simple"));
|
|
||||||
build-tools = [
|
|
||||||
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex")))
|
|
||||||
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy")))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
modules = [
|
|
||||||
"GhcPrelude"
|
|
||||||
"HieTypes"
|
|
||||||
"HieDebug"
|
|
||||||
"HieBin"
|
|
||||||
"HieUtils"
|
|
||||||
"HieAst"
|
|
||||||
"Ar"
|
|
||||||
"FileCleanup"
|
|
||||||
"DriverBkp"
|
|
||||||
"BkpSyn"
|
|
||||||
"NameShape"
|
|
||||||
"RnModIface"
|
|
||||||
"Avail"
|
|
||||||
"AsmUtils"
|
|
||||||
"BasicTypes"
|
|
||||||
"ConLike"
|
|
||||||
"DataCon"
|
|
||||||
"PatSyn"
|
|
||||||
"Demand"
|
|
||||||
"Debug"
|
|
||||||
"Exception"
|
|
||||||
"FieldLabel"
|
|
||||||
"GhcMonad"
|
|
||||||
"Hooks"
|
|
||||||
"Id"
|
|
||||||
"IdInfo"
|
|
||||||
"Lexeme"
|
|
||||||
"Literal"
|
|
||||||
"Llvm"
|
|
||||||
"Llvm/AbsSyn"
|
|
||||||
"Llvm/MetaData"
|
|
||||||
"Llvm/PpLlvm"
|
|
||||||
"Llvm/Types"
|
|
||||||
"LlvmCodeGen"
|
|
||||||
"LlvmCodeGen/Base"
|
|
||||||
"LlvmCodeGen/CodeGen"
|
|
||||||
"LlvmCodeGen/Data"
|
|
||||||
"LlvmCodeGen/Ppr"
|
|
||||||
"LlvmCodeGen/Regs"
|
|
||||||
"LlvmMangler"
|
|
||||||
"MkId"
|
|
||||||
"Module"
|
|
||||||
"Name"
|
|
||||||
"NameEnv"
|
|
||||||
"NameSet"
|
|
||||||
"OccName"
|
|
||||||
"RdrName"
|
|
||||||
"NameCache"
|
|
||||||
"SrcLoc"
|
|
||||||
"UniqSupply"
|
|
||||||
"Unique"
|
|
||||||
"Var"
|
|
||||||
"VarEnv"
|
|
||||||
"VarSet"
|
|
||||||
"UnVarGraph"
|
|
||||||
"BlockId"
|
|
||||||
"CLabel"
|
|
||||||
"Cmm"
|
|
||||||
"CmmBuildInfoTables"
|
|
||||||
"CmmPipeline"
|
|
||||||
"CmmCallConv"
|
|
||||||
"CmmCommonBlockElim"
|
|
||||||
"CmmImplementSwitchPlans"
|
|
||||||
"CmmContFlowOpt"
|
|
||||||
"CmmExpr"
|
|
||||||
"CmmInfo"
|
|
||||||
"CmmLex"
|
|
||||||
"CmmLint"
|
|
||||||
"CmmLive"
|
|
||||||
"CmmMachOp"
|
|
||||||
"CmmMonad"
|
|
||||||
"CmmSwitch"
|
|
||||||
"CmmNode"
|
|
||||||
"CmmOpt"
|
|
||||||
"CmmParse"
|
|
||||||
"CmmProcPoint"
|
|
||||||
"CmmSink"
|
|
||||||
"CmmType"
|
|
||||||
"CmmUtils"
|
|
||||||
"CmmLayoutStack"
|
|
||||||
"EnumSet"
|
|
||||||
"MkGraph"
|
|
||||||
"PprBase"
|
|
||||||
"PprC"
|
|
||||||
"PprCmm"
|
|
||||||
"PprCmmDecl"
|
|
||||||
"PprCmmExpr"
|
|
||||||
"Bitmap"
|
|
||||||
"CodeGen/Platform"
|
|
||||||
"CodeGen/Platform/ARM"
|
|
||||||
"CodeGen/Platform/ARM64"
|
|
||||||
"CodeGen/Platform/NoRegs"
|
|
||||||
"CodeGen/Platform/PPC"
|
|
||||||
"CodeGen/Platform/SPARC"
|
|
||||||
"CodeGen/Platform/X86"
|
|
||||||
"CodeGen/Platform/X86_64"
|
|
||||||
"CgUtils"
|
|
||||||
"StgCmm"
|
|
||||||
"StgCmmBind"
|
|
||||||
"StgCmmClosure"
|
|
||||||
"StgCmmCon"
|
|
||||||
"StgCmmEnv"
|
|
||||||
"StgCmmExpr"
|
|
||||||
"StgCmmForeign"
|
|
||||||
"StgCmmHeap"
|
|
||||||
"StgCmmHpc"
|
|
||||||
"StgCmmArgRep"
|
|
||||||
"StgCmmLayout"
|
|
||||||
"StgCmmMonad"
|
|
||||||
"StgCmmPrim"
|
|
||||||
"StgCmmProf"
|
|
||||||
"StgCmmTicky"
|
|
||||||
"StgCmmUtils"
|
|
||||||
"StgCmmExtCode"
|
|
||||||
"SMRep"
|
|
||||||
"CoreArity"
|
|
||||||
"CoreFVs"
|
|
||||||
"CoreLint"
|
|
||||||
"CorePrep"
|
|
||||||
"CoreSubst"
|
|
||||||
"CoreOpt"
|
|
||||||
"CoreSyn"
|
|
||||||
"TrieMap"
|
|
||||||
"CoreTidy"
|
|
||||||
"CoreUnfold"
|
|
||||||
"CoreUtils"
|
|
||||||
"CoreMap"
|
|
||||||
"CoreSeq"
|
|
||||||
"CoreStats"
|
|
||||||
"MkCore"
|
|
||||||
"PprCore"
|
|
||||||
"PmExpr"
|
|
||||||
"TmOracle"
|
|
||||||
"Check"
|
|
||||||
"Coverage"
|
|
||||||
"Desugar"
|
|
||||||
"DsArrows"
|
|
||||||
"DsBinds"
|
|
||||||
"DsCCall"
|
|
||||||
"DsExpr"
|
|
||||||
"DsForeign"
|
|
||||||
"DsGRHSs"
|
|
||||||
"DsListComp"
|
|
||||||
"DsMonad"
|
|
||||||
"DsUsage"
|
|
||||||
"DsUtils"
|
|
||||||
"ExtractDocs"
|
|
||||||
"Match"
|
|
||||||
"MatchCon"
|
|
||||||
"MatchLit"
|
|
||||||
"HsBinds"
|
|
||||||
"HsDecls"
|
|
||||||
"HsDoc"
|
|
||||||
"HsExpr"
|
|
||||||
"HsImpExp"
|
|
||||||
"HsLit"
|
|
||||||
"PlaceHolder"
|
|
||||||
"HsExtension"
|
|
||||||
"HsInstances"
|
|
||||||
"HsPat"
|
|
||||||
"HsSyn"
|
|
||||||
"HsTypes"
|
|
||||||
"HsUtils"
|
|
||||||
"HsDumpAst"
|
|
||||||
"BinIface"
|
|
||||||
"BinFingerprint"
|
|
||||||
"BuildTyCl"
|
|
||||||
"IfaceEnv"
|
|
||||||
"IfaceSyn"
|
|
||||||
"IfaceType"
|
|
||||||
"ToIface"
|
|
||||||
"LoadIface"
|
|
||||||
"MkIface"
|
|
||||||
"TcIface"
|
|
||||||
"FlagChecker"
|
|
||||||
"Annotations"
|
|
||||||
"CmdLineParser"
|
|
||||||
"CodeOutput"
|
|
||||||
"Config"
|
|
||||||
"Constants"
|
|
||||||
"DriverMkDepend"
|
|
||||||
"DriverPhases"
|
|
||||||
"PipelineMonad"
|
|
||||||
"DriverPipeline"
|
|
||||||
"DynFlags"
|
|
||||||
"ErrUtils"
|
|
||||||
"Finder"
|
|
||||||
"GHC"
|
|
||||||
"GhcMake"
|
|
||||||
"GhcPlugins"
|
|
||||||
"DynamicLoading"
|
|
||||||
"HeaderInfo"
|
|
||||||
"HscMain"
|
|
||||||
"HscStats"
|
|
||||||
"HscTypes"
|
|
||||||
"InteractiveEval"
|
|
||||||
"InteractiveEvalTypes"
|
|
||||||
"PackageConfig"
|
|
||||||
"Packages"
|
|
||||||
"PlatformConstants"
|
|
||||||
"Plugins"
|
|
||||||
"TcPluginM"
|
|
||||||
"PprTyThing"
|
|
||||||
"StaticPtrTable"
|
|
||||||
"SysTools"
|
|
||||||
"SysTools/BaseDir"
|
|
||||||
"SysTools/Terminal"
|
|
||||||
"SysTools/ExtraObj"
|
|
||||||
"SysTools/Info"
|
|
||||||
"SysTools/Process"
|
|
||||||
"SysTools/Tasks"
|
|
||||||
"Elf"
|
|
||||||
"TidyPgm"
|
|
||||||
"Ctype"
|
|
||||||
"HaddockUtils"
|
|
||||||
"Lexer"
|
|
||||||
"OptCoercion"
|
|
||||||
"Parser"
|
|
||||||
"RdrHsSyn"
|
|
||||||
"ApiAnnotation"
|
|
||||||
"ForeignCall"
|
|
||||||
"KnownUniques"
|
|
||||||
"PrelInfo"
|
|
||||||
"PrelNames"
|
|
||||||
"PrelRules"
|
|
||||||
"PrimOp"
|
|
||||||
"TysPrim"
|
|
||||||
"TysWiredIn"
|
|
||||||
"CostCentre"
|
|
||||||
"CostCentreState"
|
|
||||||
"ProfInit"
|
|
||||||
"RnBinds"
|
|
||||||
"RnEnv"
|
|
||||||
"RnExpr"
|
|
||||||
"RnHsDoc"
|
|
||||||
"RnNames"
|
|
||||||
"RnPat"
|
|
||||||
"RnSource"
|
|
||||||
"RnSplice"
|
|
||||||
"RnTypes"
|
|
||||||
"RnFixity"
|
|
||||||
"RnUtils"
|
|
||||||
"RnUnbound"
|
|
||||||
"CoreMonad"
|
|
||||||
"CSE"
|
|
||||||
"FloatIn"
|
|
||||||
"FloatOut"
|
|
||||||
"LiberateCase"
|
|
||||||
"OccurAnal"
|
|
||||||
"SAT"
|
|
||||||
"SetLevels"
|
|
||||||
"SimplCore"
|
|
||||||
"SimplEnv"
|
|
||||||
"SimplMonad"
|
|
||||||
"SimplUtils"
|
|
||||||
"Simplify"
|
|
||||||
"SimplStg"
|
|
||||||
"StgStats"
|
|
||||||
"StgCse"
|
|
||||||
"StgLiftLams"
|
|
||||||
"StgLiftLams/Analysis"
|
|
||||||
"StgLiftLams/LiftM"
|
|
||||||
"StgLiftLams/Transformation"
|
|
||||||
"StgSubst"
|
|
||||||
"UnariseStg"
|
|
||||||
"RepType"
|
|
||||||
"Rules"
|
|
||||||
"SpecConstr"
|
|
||||||
"Specialise"
|
|
||||||
"CoreToStg"
|
|
||||||
"StgLint"
|
|
||||||
"StgSyn"
|
|
||||||
"StgFVs"
|
|
||||||
"CallArity"
|
|
||||||
"DmdAnal"
|
|
||||||
"Exitify"
|
|
||||||
"WorkWrap"
|
|
||||||
"WwLib"
|
|
||||||
"FamInst"
|
|
||||||
"ClsInst"
|
|
||||||
"Inst"
|
|
||||||
"TcAnnotations"
|
|
||||||
"TcArrows"
|
|
||||||
"TcBinds"
|
|
||||||
"TcSigs"
|
|
||||||
"TcClassDcl"
|
|
||||||
"TcDefaults"
|
|
||||||
"TcDeriv"
|
|
||||||
"TcDerivInfer"
|
|
||||||
"TcDerivUtils"
|
|
||||||
"TcEnv"
|
|
||||||
"TcExpr"
|
|
||||||
"TcForeign"
|
|
||||||
"TcGenDeriv"
|
|
||||||
"TcGenFunctor"
|
|
||||||
"TcGenGenerics"
|
|
||||||
"TcHsSyn"
|
|
||||||
"TcHsType"
|
|
||||||
"TcInstDcls"
|
|
||||||
"TcMType"
|
|
||||||
"TcValidity"
|
|
||||||
"TcMatches"
|
|
||||||
"TcPat"
|
|
||||||
"TcPatSyn"
|
|
||||||
"TcRnDriver"
|
|
||||||
"TcBackpack"
|
|
||||||
"TcRnExports"
|
|
||||||
"TcRnMonad"
|
|
||||||
"TcRnTypes"
|
|
||||||
"TcRules"
|
|
||||||
"TcSimplify"
|
|
||||||
"TcHoleErrors"
|
|
||||||
"TcErrors"
|
|
||||||
"TcTyClsDecls"
|
|
||||||
"TcTyDecls"
|
|
||||||
"TcTypeable"
|
|
||||||
"TcTypeableValidity"
|
|
||||||
"TcType"
|
|
||||||
"TcEvidence"
|
|
||||||
"TcEvTerm"
|
|
||||||
"TcUnify"
|
|
||||||
"TcInteract"
|
|
||||||
"TcCanonical"
|
|
||||||
"TcFlatten"
|
|
||||||
"TcSMonad"
|
|
||||||
"TcTypeNats"
|
|
||||||
"TcSplice"
|
|
||||||
"Class"
|
|
||||||
"Coercion"
|
|
||||||
"DsMeta"
|
|
||||||
"THNames"
|
|
||||||
"FamInstEnv"
|
|
||||||
"FunDeps"
|
|
||||||
"InstEnv"
|
|
||||||
"TyCon"
|
|
||||||
"CoAxiom"
|
|
||||||
"Kind"
|
|
||||||
"Type"
|
|
||||||
"TyCoRep"
|
|
||||||
"Unify"
|
|
||||||
"Bag"
|
|
||||||
"Binary"
|
|
||||||
"BooleanFormula"
|
|
||||||
"BufWrite"
|
|
||||||
"Digraph"
|
|
||||||
"Encoding"
|
|
||||||
"FastFunctions"
|
|
||||||
"FastMutInt"
|
|
||||||
"FastString"
|
|
||||||
"FastStringEnv"
|
|
||||||
"Fingerprint"
|
|
||||||
"FiniteMap"
|
|
||||||
"FV"
|
|
||||||
"GraphBase"
|
|
||||||
"GraphColor"
|
|
||||||
"GraphOps"
|
|
||||||
"GraphPpr"
|
|
||||||
"IOEnv"
|
|
||||||
"Json"
|
|
||||||
"ListSetOps"
|
|
||||||
"ListT"
|
|
||||||
"Maybes"
|
|
||||||
"MonadUtils"
|
|
||||||
"OrdList"
|
|
||||||
"Outputable"
|
|
||||||
"Pair"
|
|
||||||
"Panic"
|
|
||||||
"PlainPanic"
|
|
||||||
"PprColour"
|
|
||||||
"Pretty"
|
|
||||||
"State"
|
|
||||||
"Stream"
|
|
||||||
"StringBuffer"
|
|
||||||
"UniqDFM"
|
|
||||||
"UniqDSet"
|
|
||||||
"UniqFM"
|
|
||||||
"UniqMap"
|
|
||||||
"UniqSet"
|
|
||||||
"Util"
|
|
||||||
"Hoopl/Block"
|
|
||||||
"Hoopl/Collections"
|
|
||||||
"Hoopl/Dataflow"
|
|
||||||
"Hoopl/Graph"
|
|
||||||
"Hoopl/Label"
|
|
||||||
"AsmCodeGen"
|
|
||||||
"TargetReg"
|
|
||||||
"NCGMonad"
|
|
||||||
"Instruction"
|
|
||||||
"BlockLayout"
|
|
||||||
"CFG"
|
|
||||||
"Format"
|
|
||||||
"Reg"
|
|
||||||
"RegClass"
|
|
||||||
"PIC"
|
|
||||||
"Platform"
|
|
||||||
"CPrim"
|
|
||||||
"X86/Regs"
|
|
||||||
"X86/RegInfo"
|
|
||||||
"X86/Instr"
|
|
||||||
"X86/Cond"
|
|
||||||
"X86/Ppr"
|
|
||||||
"X86/CodeGen"
|
|
||||||
"PPC/Regs"
|
|
||||||
"PPC/RegInfo"
|
|
||||||
"PPC/Instr"
|
|
||||||
"PPC/Cond"
|
|
||||||
"PPC/Ppr"
|
|
||||||
"PPC/CodeGen"
|
|
||||||
"SPARC/Base"
|
|
||||||
"SPARC/Regs"
|
|
||||||
"SPARC/Imm"
|
|
||||||
"SPARC/AddrMode"
|
|
||||||
"SPARC/Cond"
|
|
||||||
"SPARC/Instr"
|
|
||||||
"SPARC/Stack"
|
|
||||||
"SPARC/ShortcutJump"
|
|
||||||
"SPARC/Ppr"
|
|
||||||
"SPARC/CodeGen"
|
|
||||||
"SPARC/CodeGen/Amode"
|
|
||||||
"SPARC/CodeGen/Base"
|
|
||||||
"SPARC/CodeGen/CondCode"
|
|
||||||
"SPARC/CodeGen/Gen32"
|
|
||||||
"SPARC/CodeGen/Gen64"
|
|
||||||
"SPARC/CodeGen/Sanity"
|
|
||||||
"SPARC/CodeGen/Expand"
|
|
||||||
"RegAlloc/Liveness"
|
|
||||||
"RegAlloc/Graph/Main"
|
|
||||||
"RegAlloc/Graph/Stats"
|
|
||||||
"RegAlloc/Graph/ArchBase"
|
|
||||||
"RegAlloc/Graph/ArchX86"
|
|
||||||
"RegAlloc/Graph/Coalesce"
|
|
||||||
"RegAlloc/Graph/Spill"
|
|
||||||
"RegAlloc/Graph/SpillClean"
|
|
||||||
"RegAlloc/Graph/SpillCost"
|
|
||||||
"RegAlloc/Graph/TrivColorable"
|
|
||||||
"RegAlloc/Linear/Main"
|
|
||||||
"RegAlloc/Linear/JoinToTargets"
|
|
||||||
"RegAlloc/Linear/State"
|
|
||||||
"RegAlloc/Linear/Stats"
|
|
||||||
"RegAlloc/Linear/FreeRegs"
|
|
||||||
"RegAlloc/Linear/StackMap"
|
|
||||||
"RegAlloc/Linear/Base"
|
|
||||||
"RegAlloc/Linear/X86/FreeRegs"
|
|
||||||
"RegAlloc/Linear/X86_64/FreeRegs"
|
|
||||||
"RegAlloc/Linear/PPC/FreeRegs"
|
|
||||||
"RegAlloc/Linear/SPARC/FreeRegs"
|
|
||||||
"Dwarf"
|
|
||||||
"Dwarf/Types"
|
|
||||||
"Dwarf/Constants"
|
|
||||||
"Convert"
|
|
||||||
"ByteCodeTypes"
|
|
||||||
"ByteCodeAsm"
|
|
||||||
"ByteCodeGen"
|
|
||||||
"ByteCodeInstr"
|
|
||||||
"ByteCodeItbls"
|
|
||||||
"ByteCodeLink"
|
|
||||||
"Debugger"
|
|
||||||
"Linker"
|
|
||||||
"RtClosureInspect"
|
|
||||||
"GHCi"
|
|
||||||
];
|
|
||||||
cSources = [
|
|
||||||
"parser/cutils.c"
|
|
||||||
"ghci/keepCAFsForGHCi.c"
|
|
||||||
"cbits/genSym.c"
|
|
||||||
];
|
|
||||||
hsSourceDirs = [
|
|
||||||
"backpack"
|
|
||||||
"basicTypes"
|
|
||||||
"cmm"
|
|
||||||
"codeGen"
|
|
||||||
"coreSyn"
|
|
||||||
"deSugar"
|
|
||||||
"ghci"
|
|
||||||
"hsSyn"
|
|
||||||
"iface"
|
|
||||||
"llvmGen"
|
|
||||||
"main"
|
|
||||||
"nativeGen"
|
|
||||||
"parser"
|
|
||||||
"prelude"
|
|
||||||
"profiling"
|
|
||||||
"rename"
|
|
||||||
"simplCore"
|
|
||||||
"simplStg"
|
|
||||||
"specialise"
|
|
||||||
"stgSyn"
|
|
||||||
"stranal"
|
|
||||||
"typecheck"
|
|
||||||
"types"
|
|
||||||
"utils"
|
|
||||||
"hieFile"
|
|
||||||
];
|
|
||||||
includeDirs = [
|
|
||||||
"."
|
|
||||||
"parser"
|
|
||||||
"utils"
|
|
||||||
] ++ (pkgs.lib).optional (flags.ghci) "../rts/dist/build";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../compiler; }
|
|
@ -1,101 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = { ghci = false; };
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "ghci"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "";
|
|
||||||
maintainer = "ghc-devs@haskell.org";
|
|
||||||
author = "";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "The library supporting GHC's interactive interpreter";
|
|
||||||
description = "This library offers interfaces which mediate interactions between the\n@ghci@ interactive shell and @iserv@, GHC's out-of-process interpreter\nbackend.";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [ "LICENSE" ];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [ "changelog.md" ];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
|
||||||
buildable = true;
|
|
||||||
modules = [
|
|
||||||
"GHCi/BreakArray"
|
|
||||||
"GHCi/BinaryArray"
|
|
||||||
"GHCi/Message"
|
|
||||||
"GHCi/ResolvedBCO"
|
|
||||||
"GHCi/RemoteTypes"
|
|
||||||
"GHCi/FFI"
|
|
||||||
"GHCi/InfoTable"
|
|
||||||
"GHCi/StaticPtrTable"
|
|
||||||
"GHCi/TH/Binary"
|
|
||||||
"SizedSeq"
|
|
||||||
] ++ (pkgs.lib).optionals (flags.ghci) [
|
|
||||||
"GHCi/Run"
|
|
||||||
"GHCi/CreateBCO"
|
|
||||||
"GHCi/ObjLink"
|
|
||||||
"GHCi/Signals"
|
|
||||||
"GHCi/TH"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../libraries/ghci; }
|
|
@ -1,86 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "iserv-proxy"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "XXX";
|
|
||||||
maintainer = "XXX";
|
|
||||||
author = "XXX";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "iserv allows GHC to delegate Tempalte Haskell computations";
|
|
||||||
description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\niserv can also be used in combination with cross compilation. For\nthis, the @iserv-proxy@ needs to be built on the host, targeting the\nhost (as it is running on the host). @cabal install -flibrary\n-fproxy@ will yield the proxy.\n\nUsing the cabal for the target @arch-platform-target-cabal install\n-flibrary@ will build the required library that contains the ffi\n@startSlave@ function, which needs to be invoked on the target\n(e.g. in an iOS application) to start the remote iserv slave.\n\ncalling the GHC cross compiler with @-fexternal-interpreter\n-pgmi=\$HOME/.cabal/bin/iserv-proxy -opti\\<ip address\\> -opti\\<port\\>@\nwill cause it to compile Template Haskell via the remote at \\<ip address\\>.\n\nThus to get cross compilation with Template Haskell follow the\nfollowing receipt:\n\n* compile the iserv library for your target\n\n> iserv \$ arch-platform-target-cabal install -flibrary\n\n* setup an application for your target that calls the\n* startSlave function. This could be either haskell or your\n* targets ffi capable language, if needed.\n\n> void startSlave(false /* verbose */, 5000 /* port */,\n> \"/path/to/storagelocation/on/target\");\n\n* build the iserv-proxy\n\n> iserv \$ cabal install -flibrary -fproxy\n* Start your iserv-slave app on your target running on say @10.0.0.1:5000@\n* compiler your sources with -fexternal-interpreter and the proxy\n\n> project \$ arch-platform-target-ghc ModuleContainingTH.hs \\\n> -fexternal-interpreter \\\n> -pgmi=\$HOME/.cabal/bin/iserv-proxy \\\n> -opti10.0.0.1 -opti5000\n\nShould something not work as expected, provide @-opti-v@ for verbose\nlogging of the @iserv-proxy@.";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
exes = {
|
|
||||||
"iserv-proxy" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
hsSourceDirs = [ "src" ];
|
|
||||||
mainPath = [ "Main.hs" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../utils/iserv-proxy; }
|
|
@ -1,85 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "iserv"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "XXX";
|
|
||||||
maintainer = "XXX";
|
|
||||||
author = "XXX";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "iserv allows GHC to delegate Template Haskell computations";
|
|
||||||
description = "GHC can be provided with a path to the iserv binary with\n@-pgmi=/path/to/iserv-bin@, and will in combination with\n@-fexternal-interpreter@, compile Template Haskell though the\n@iserv-bin@ delegate. This is very similar to how ghcjs has been\ncompiling Template Haskell, by spawning a separate delegate (so\ncalled runner on the javascript vm) and evaluating the splices\nthere.\n\nTo use iserv with cross compilers, please see @libraries/libiserv@\nand @utils/iserv-proxy@.";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
exes = {
|
|
||||||
"iserv" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
|
||||||
buildable = true;
|
|
||||||
cSources = [ "cbits/iservmain.c" ];
|
|
||||||
hsSourceDirs = [ "src" ];
|
|
||||||
includeDirs = [ "." ];
|
|
||||||
mainPath = [ "Main.hs" ] ++ [ "" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../utils/iserv; }
|
|
@ -1,89 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = { network = false; };
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "libiserv"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "XXX";
|
|
||||||
maintainer = "XXX";
|
|
||||||
author = "XXX";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "Provides shared functionality between iserv and iserv-proxy";
|
|
||||||
description = "";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [ "LICENSE" ];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
"library" = {
|
|
||||||
depends = ([
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
|
||||||
] ++ (pkgs.lib).optionals (flags.network) [
|
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
|
||||||
]) ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
|
||||||
buildable = true;
|
|
||||||
modules = [
|
|
||||||
"Lib"
|
|
||||||
"GHCi/Utils"
|
|
||||||
] ++ (pkgs.lib).optionals (flags.network) [
|
|
||||||
"Remote/Message"
|
|
||||||
"Remote/Slave"
|
|
||||||
];
|
|
||||||
hsSourceDirs = [ "src" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../libraries/libiserv; }
|
|
@ -1,77 +0,0 @@
|
|||||||
let
|
|
||||||
buildDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
sysDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
|
||||||
flags = {};
|
|
||||||
package = {
|
|
||||||
specVersion = "1.10";
|
|
||||||
identifier = { name = "remote-iserv"; version = "8.8.2"; };
|
|
||||||
license = "BSD-3-Clause";
|
|
||||||
copyright = "XXX";
|
|
||||||
maintainer = "Moritz Angermann <moritz.angermann@gmail.com>";
|
|
||||||
author = "Moritz Angermann <moritz.angermann@gmail.com>";
|
|
||||||
homepage = "";
|
|
||||||
url = "";
|
|
||||||
synopsis = "iserv allows GHC to delegate Tempalte Haskell computations";
|
|
||||||
description = "This is a very simple remote runner for iserv, to be used together\nwith iserv-proxy. The foundamental idea is that this this wrapper\nstarts running libiserv on a given port to which iserv-proxy will\nthen connect.";
|
|
||||||
buildType = "Simple";
|
|
||||||
isLocal = true;
|
|
||||||
detailLevel = "FullDetails";
|
|
||||||
licenseFiles = [];
|
|
||||||
dataDir = "";
|
|
||||||
dataFiles = [];
|
|
||||||
extraSrcFiles = [];
|
|
||||||
extraTmpFiles = [];
|
|
||||||
extraDocFiles = [];
|
|
||||||
};
|
|
||||||
components = {
|
|
||||||
exes = {
|
|
||||||
"remote-iserv" = {
|
|
||||||
depends = [
|
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
|
||||||
];
|
|
||||||
buildable = true;
|
|
||||||
hsSourceDirs = [ "src" ];
|
|
||||||
mainPath = [ "Cli.hs" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
} // rec { src = (pkgs.lib).mkDefault ../utils/remote-iserv; }
|
|
@ -1,92 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs = hackage:
|
|
||||||
{
|
|
||||||
packages = {
|
|
||||||
"binary".revision = (((hackage."binary")."0.8.8.0").revisions).default;
|
|
||||||
"ghc-prim".revision = (((hackage."ghc-prim")."0.5.3").revisions).default;
|
|
||||||
"ghc-heap".revision = (((hackage."ghc-heap")."8.8.2").revisions).default;
|
|
||||||
"mtl".revision = (((hackage."mtl")."2.2.2").revisions).default;
|
|
||||||
"rts".revision = (((hackage."rts")."1.0").revisions).default;
|
|
||||||
"alex".revision = (((hackage."alex")."3.2.5").revisions).default;
|
|
||||||
"alex".flags.small_base = true;
|
|
||||||
"deepseq".revision = (((hackage."deepseq")."1.4.4.0").revisions).default;
|
|
||||||
"network".revision = (((hackage."network")."2.8.0.1").revisions).default;
|
|
||||||
"directory".revision = (((hackage."directory")."1.3.6.1").revisions).default;
|
|
||||||
"template-haskell".revision = (((hackage."template-haskell")."2.15.0.0").revisions).default;
|
|
||||||
"containers".revision = (((hackage."containers")."0.6.2.1").revisions).default;
|
|
||||||
"base".revision = (((hackage."base")."4.13.0.0").revisions).default;
|
|
||||||
"time".revision = (((hackage."time")."1.9.3").revisions).default;
|
|
||||||
"transformers".revision = (((hackage."transformers")."0.5.6.2").revisions).default;
|
|
||||||
"happy".revision = (((hackage."happy")."1.19.12").revisions).default;
|
|
||||||
"happy".flags.small_base = true;
|
|
||||||
"hpc".revision = (((hackage."hpc")."0.6.0.3").revisions).default;
|
|
||||||
"filepath".revision = (((hackage."filepath")."1.4.2.1").revisions).default;
|
|
||||||
"process".revision = (((hackage."process")."1.6.8.2").revisions).default;
|
|
||||||
"pretty".revision = (((hackage."pretty")."1.1.3.6").revisions).default;
|
|
||||||
"ghc-boot-th".revision = (((hackage."ghc-boot-th")."8.8.2").revisions).default;
|
|
||||||
"array".revision = (((hackage."array")."0.5.4.0").revisions).default;
|
|
||||||
"Win32".revision = (((hackage."Win32")."2.6.2.0").revisions).default;
|
|
||||||
"integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default;
|
|
||||||
};
|
|
||||||
compiler = {
|
|
||||||
version = "8.8.2";
|
|
||||||
nix-name = "ghc882";
|
|
||||||
packages = {
|
|
||||||
"ghc-prim" = "0.5.3";
|
|
||||||
"ghc-heap" = "8.8.2";
|
|
||||||
"mtl" = "2.2.2";
|
|
||||||
"rts" = "1.0";
|
|
||||||
"deepseq" = "1.4.4.0";
|
|
||||||
"template-haskell" = "2.15.0.0";
|
|
||||||
"containers" = "0.6.2.1";
|
|
||||||
"base" = "4.13.0.0";
|
|
||||||
"transformers" = "0.5.6.2";
|
|
||||||
"filepath" = "1.4.2.1";
|
|
||||||
"pretty" = "1.1.3.6";
|
|
||||||
"ghc-boot-th" = "8.8.2";
|
|
||||||
"array" = "0.5.4.0";
|
|
||||||
"integer-gmp" = "1.0.2.0";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
extras = hackage:
|
|
||||||
{
|
|
||||||
packages = {
|
|
||||||
ghc = ./.plan.nix/ghc.nix;
|
|
||||||
bytestring = ./.plan.nix/bytestring.nix;
|
|
||||||
remote-iserv = ./.plan.nix/remote-iserv.nix;
|
|
||||||
iserv-proxy = ./.plan.nix/iserv-proxy.nix;
|
|
||||||
libiserv = ./.plan.nix/libiserv.nix;
|
|
||||||
ghc-boot = ./.plan.nix/ghc-boot.nix;
|
|
||||||
ghci = ./.plan.nix/ghci.nix;
|
|
||||||
iserv = ./.plan.nix/iserv.nix;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
modules = [
|
|
||||||
({ lib, ... }:
|
|
||||||
{
|
|
||||||
packages = {
|
|
||||||
"ghc" = {
|
|
||||||
flags = {
|
|
||||||
"stage1" = lib.mkOverride 900 false;
|
|
||||||
"stage2" = lib.mkOverride 900 true;
|
|
||||||
"integer-gmp" = lib.mkOverride 900 false;
|
|
||||||
"stage3" = lib.mkOverride 900 false;
|
|
||||||
"ghci" = lib.mkOverride 900 true;
|
|
||||||
"integer-simple" = lib.mkOverride 900 false;
|
|
||||||
"terminfo" = lib.mkOverride 900 true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"bytestring" = {
|
|
||||||
flags = { "integer-simple" = lib.mkOverride 900 false; };
|
|
||||||
};
|
|
||||||
"remote-iserv" = { flags = {}; };
|
|
||||||
"iserv-proxy" = { flags = {}; };
|
|
||||||
"libiserv" = { flags = { "network" = lib.mkOverride 900 true; }; };
|
|
||||||
"ghc-boot" = { flags = {}; };
|
|
||||||
"ghci" = { flags = { "ghci" = lib.mkOverride 900 true; }; };
|
|
||||||
"iserv" = { flags = {}; };
|
|
||||||
};
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}
|
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { integer-simple = false; };
|
flags = { integer-simple = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -64,10 +33,10 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = ([
|
depends = ([
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (buildDepError "integer"));
|
] ++ (pkgs.lib).optionals (compiler.isGhc && (compiler.version).ge "6.11") ((pkgs.lib).optional (!flags.integer-simple) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp")))) ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).ge "6.9" && (compiler.isGhc && (compiler.version).lt "6.11")) (hsPkgs."integer" or (errorHandler.buildDepError "integer"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
"Data/ByteString/Builder/ASCII"
|
"Data/ByteString/Builder/ASCII"
|
||||||
@ -101,14 +70,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
tests = {
|
tests = {
|
||||||
"prop-compiled" = {
|
"prop-compiled" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
(hsPkgs."random" or (errorHandler.buildDepError "random"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
(hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2"))
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [ "Rules" "QuickCheckUtils" "TestFramework" ];
|
modules = [ "Rules" "QuickCheckUtils" "TestFramework" ];
|
||||||
@ -119,14 +88,14 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
};
|
};
|
||||||
"regressions" = {
|
"regressions" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."random" or (buildDepError "random"))
|
(hsPkgs."random" or (errorHandler.buildDepError "random"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit"))
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit"))
|
||||||
];
|
];
|
||||||
buildable = false;
|
buildable = false;
|
||||||
cSources = [ "cbits/fpstring.c" ];
|
cSources = [ "cbits/fpstring.c" ];
|
||||||
@ -136,18 +105,18 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
};
|
};
|
||||||
"test-builder" = {
|
"test-builder" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."ghc-prim" or (buildDepError "ghc-prim"))
|
(hsPkgs."ghc-prim" or (errorHandler.buildDepError "ghc-prim"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."QuickCheck" or (buildDepError "QuickCheck"))
|
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
|
||||||
(hsPkgs."byteorder" or (buildDepError "byteorder"))
|
(hsPkgs."byteorder" or (errorHandler.buildDepError "byteorder"))
|
||||||
(hsPkgs."dlist" or (buildDepError "dlist"))
|
(hsPkgs."dlist" or (errorHandler.buildDepError "dlist"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."mtl" or (buildDepError "mtl"))
|
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
|
||||||
(hsPkgs."HUnit" or (buildDepError "HUnit"))
|
(hsPkgs."HUnit" or (errorHandler.buildDepError "HUnit"))
|
||||||
(hsPkgs."test-framework" or (buildDepError "test-framework"))
|
(hsPkgs."test-framework" or (errorHandler.buildDepError "test-framework"))
|
||||||
(hsPkgs."test-framework-hunit" or (buildDepError "test-framework-hunit"))
|
(hsPkgs."test-framework-hunit" or (errorHandler.buildDepError "test-framework-hunit"))
|
||||||
(hsPkgs."test-framework-quickcheck2" or (buildDepError "test-framework-quickcheck2"))
|
(hsPkgs."test-framework-quickcheck2" or (errorHandler.buildDepError "test-framework-quickcheck2"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -64,12 +33,12 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {
|
flags = {
|
||||||
ghci = false;
|
ghci = false;
|
||||||
@ -77,31 +46,31 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = ((([
|
depends = ((([
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."process" or (buildDepError "process"))
|
(hsPkgs."process" or (errorHandler.buildDepError "process"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."time" or (buildDepError "time"))
|
(hsPkgs."time" or (errorHandler.buildDepError "time"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell"))
|
||||||
(hsPkgs."hpc" or (buildDepError "hpc"))
|
(hsPkgs."hpc" or (errorHandler.buildDepError "hpc"))
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
(hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
(hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
] ++ (if system.isWindows
|
] ++ (if system.isWindows
|
||||||
then [ (hsPkgs."Win32" or (buildDepError "Win32")) ]
|
then [ (hsPkgs."Win32" or (errorHandler.buildDepError "Win32")) ]
|
||||||
else [
|
else [
|
||||||
(hsPkgs."unix" or (buildDepError "unix"))
|
(hsPkgs."unix" or (errorHandler.buildDepError "unix"))
|
||||||
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (buildDepError "integer-simple"));
|
] ++ (pkgs.lib).optional (flags.terminfo) (hsPkgs."terminfo" or (errorHandler.buildDepError "terminfo")))) ++ (pkgs.lib).optional (flags.integer-gmp && flags.integer-simple) (hsPkgs."invalid-cabal-flag-settings" or (errorHandler.buildDepError "invalid-cabal-flag-settings"))) ++ (pkgs.lib).optional (flags.integer-gmp) (hsPkgs."integer-gmp" or (errorHandler.buildDepError "integer-gmp"))) ++ (pkgs.lib).optional (flags.integer-simple) (hsPkgs."integer-simple" or (errorHandler.buildDepError "integer-simple"));
|
||||||
build-tools = [
|
build-tools = [
|
||||||
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (buildToolDepError "alex")))
|
(hsPkgs.buildPackages.alex or (pkgs.buildPackages.alex or (errorHandler.buildToolDepError "alex")))
|
||||||
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (buildToolDepError "happy")))
|
(hsPkgs.buildPackages.happy or (pkgs.buildPackages.happy or (errorHandler.buildToolDepError "happy")))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = { ghci = false; };
|
flags = { ghci = false; };
|
||||||
package = {
|
package = {
|
||||||
@ -64,19 +33,19 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
components = {
|
components = {
|
||||||
"library" = {
|
"library" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghc-boot" or (buildDepError "ghc-boot"))
|
(hsPkgs."ghc-boot" or (errorHandler.buildDepError "ghc-boot"))
|
||||||
(hsPkgs."ghc-boot-th" or (buildDepError "ghc-boot-th"))
|
(hsPkgs."ghc-boot-th" or (errorHandler.buildDepError "ghc-boot-th"))
|
||||||
(hsPkgs."ghc-heap" or (buildDepError "ghc-heap"))
|
(hsPkgs."ghc-heap" or (errorHandler.buildDepError "ghc-heap"))
|
||||||
(hsPkgs."template-haskell" or (buildDepError "template-haskell"))
|
(hsPkgs."template-haskell" or (errorHandler.buildDepError "template-haskell"))
|
||||||
(hsPkgs."transformers" or (buildDepError "transformers"))
|
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
modules = [
|
modules = [
|
||||||
"GHCi/BreakArray"
|
"GHCi/BreakArray"
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -65,17 +34,17 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"iserv-proxy" = {
|
"iserv-proxy" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."directory" or (buildDepError "directory"))
|
(hsPkgs."directory" or (errorHandler.buildDepError "directory"))
|
||||||
(hsPkgs."network" or (buildDepError "network"))
|
(hsPkgs."network" or (errorHandler.buildDepError "network"))
|
||||||
(hsPkgs."filepath" or (buildDepError "filepath"))
|
(hsPkgs."filepath" or (errorHandler.buildDepError "filepath"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
];
|
];
|
||||||
buildable = true;
|
buildable = true;
|
||||||
hsSourceDirs = [ "src" ];
|
hsSourceDirs = [ "src" ];
|
||||||
|
@ -1,43 +1,12 @@
|
|||||||
let
|
{ system
|
||||||
buildDepError = pkg:
|
, compiler
|
||||||
builtins.throw ''
|
, flags
|
||||||
The Haskell package set does not contain the package: ${pkg} (build dependency).
|
, pkgs
|
||||||
|
, hsPkgs
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
, pkgconfPkgs
|
||||||
'';
|
, errorHandler
|
||||||
sysDepError = pkg:
|
, config
|
||||||
builtins.throw ''
|
, ... }:
|
||||||
The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
|
|
||||||
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
pkgConfDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
|
|
||||||
|
|
||||||
You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
|
|
||||||
'';
|
|
||||||
exeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The local executable components do not include the component: ${pkg} (executable dependency).
|
|
||||||
'';
|
|
||||||
legacyExeDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
The Haskell package set does not contain the package: ${pkg} (executable dependency).
|
|
||||||
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
buildToolDepError = pkg:
|
|
||||||
builtins.throw ''
|
|
||||||
Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
|
|
||||||
|
|
||||||
If this is a system dependency:
|
|
||||||
You may need to augment the system package mapping in haskell.nix so that it can be found.
|
|
||||||
|
|
||||||
If this is a Haskell dependency:
|
|
||||||
If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
|
|
||||||
'';
|
|
||||||
in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|
||||||
{
|
{
|
||||||
flags = {};
|
flags = {};
|
||||||
package = {
|
package = {
|
||||||
@ -65,15 +34,15 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
|
|||||||
exes = {
|
exes = {
|
||||||
"iserv" = {
|
"iserv" = {
|
||||||
depends = [
|
depends = [
|
||||||
(hsPkgs."array" or (buildDepError "array"))
|
(hsPkgs."array" or (errorHandler.buildDepError "array"))
|
||||||
(hsPkgs."base" or (buildDepError "base"))
|
(hsPkgs."base" or (errorHandler.buildDepError "base"))
|
||||||
(hsPkgs."binary" or (buildDepError "binary"))
|
(hsPkgs."binary" or (errorHandler.buildDepError "binary"))
|
||||||
(hsPkgs."bytestring" or (buildDepError "bytestring"))
|
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
|
||||||
(hsPkgs."containers" or (buildDepError "containers"))
|
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
|
||||||
(hsPkgs."deepseq" or (buildDepError "deepseq"))
|
(hsPkgs."deepseq" or (errorHandler.buildDepError "deepseq"))
|
||||||
(hsPkgs."ghci" or (buildDepError "ghci"))
|
(hsPkgs."ghci" or (errorHandler.buildDepError "ghci"))
|
||||||
(hsPkgs."libiserv" or (buildDepError "libiserv"))
|
(hsPkgs."libiserv" or (errorHandler.buildDepError "libiserv"))
|
||||||
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (buildDepError "unix"));
|
] ++ (pkgs.lib).optional (!system.isWindows) (hsPkgs."unix" or (errorHandler.buildDepError "unix"));
|
||||||
buildable = true;
|
buildable = true;
|
||||||
cSources = [ "cbits/iservmain.c" ];
|
cSources = [ "cbits/iservmain.c" ];
|
||||||
hsSourceDirs = [ "src" ];
|
hsSourceDirs = [ "src" ];
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user