diff --git a/.plan.nix/mateamt.nix b/.plan.nix/mateamt.nix new file mode 100644 index 0000000..29a0ce1 --- /dev/null +++ b/.plan.nix/mateamt.nix @@ -0,0 +1,153 @@ +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 = { develop = false; }; + package = { + specVersion = "2.4"; + identifier = { name = "mateamt"; version = "0.0.0.0"; }; + license = "AGPL-3.0-only"; + copyright = ""; + maintainer = "nek0@nek0.eu"; + author = "nek0"; + homepage = ""; + url = ""; + synopsis = "A whole new matemat"; + description = ""; + buildType = "Simple"; + isLocal = true; + detailLevel = "FullDetails"; + licenseFiles = [ "LICENSE" ]; + dataDir = ""; + dataFiles = []; + extraSrcFiles = [ "CHANGELOG.md" ]; + extraTmpFiles = []; + extraDocFiles = []; + }; + components = { + "library" = { + depends = [ + (hsPkgs."base" or (buildDepError "base")) + (hsPkgs."servant" or (buildDepError "servant")) + (hsPkgs."servant-server" or (buildDepError "servant-server")) + (hsPkgs."servant-rawm" or (buildDepError "servant-rawm")) + (hsPkgs."opaleye" or (buildDepError "opaleye")) + (hsPkgs."aeson" or (buildDepError "aeson")) + (hsPkgs."text" or (buildDepError "text")) + (hsPkgs."time" or (buildDepError "time")) + (hsPkgs."profunctors" or (buildDepError "profunctors")) + (hsPkgs."product-profunctors" or (buildDepError "product-profunctors")) + (hsPkgs."postgresql-simple" or (buildDepError "postgresql-simple")) + (hsPkgs."warp" or (buildDepError "warp")) + (hsPkgs."wai" or (buildDepError "wai")) + (hsPkgs."wai-logger" or (buildDepError "wai-logger")) + (hsPkgs."http-types" or (buildDepError "http-types")) + (hsPkgs."http-api-data" or (buildDepError "http-api-data")) + (hsPkgs."bytestring" or (buildDepError "bytestring")) + (hsPkgs."base16-bytestring" or (buildDepError "base16-bytestring")) + (hsPkgs."base64-bytestring" or (buildDepError "base64-bytestring")) + (hsPkgs."random-bytestring" or (buildDepError "random-bytestring")) + (hsPkgs."containers" or (buildDepError "containers")) + (hsPkgs."stm" or (buildDepError "stm")) + (hsPkgs."mtl" or (buildDepError "mtl")) + (hsPkgs."pureMD5" or (buildDepError "pureMD5")) + ]; + buildable = true; + modules = [ + "API" + "Control" + "Control/Buy" + "Control/Journal" + "Control/User" + "Control/Product" + "Control/Auth" + "Control/Avatar" + "Model" + "Model/User" + "Model/Product" + "Model/Auth" + "Model/Amount" + "Model/Journal" + "Model/Avatar" + "Types" + "Types/Auth" + "Types/Product" + "Types/Reader" + "Types/Refine" + "Types/User" + "Types/Purchase" + "Types/Amount" + "Types/Journal" + "Types/Avatar" + "Util" + ]; + hsSourceDirs = [ "src" ]; + }; + exes = { + "mateamt" = { + depends = [ + (hsPkgs."base" or (buildDepError "base")) + (hsPkgs."mateamt" or (buildDepError "mateamt")) + (hsPkgs."text" or (buildDepError "text")) + (hsPkgs."bytestring" or (buildDepError "bytestring")) + (hsPkgs."base16-bytestring" or (buildDepError "base16-bytestring")) + (hsPkgs."containers" or (buildDepError "containers")) + (hsPkgs."mtl" or (buildDepError "mtl")) + (hsPkgs."opaleye" or (buildDepError "opaleye")) + (hsPkgs."postgresql-simple" or (buildDepError "postgresql-simple")) + (hsPkgs."stm" or (buildDepError "stm")) + (hsPkgs."network" or (buildDepError "network")) + (hsPkgs."servant" or (buildDepError "servant")) + (hsPkgs."servant-server" or (buildDepError "servant-server")) + (hsPkgs."time" or (buildDepError "time")) + (hsPkgs."warp" or (buildDepError "warp")) + (hsPkgs."wai" or (buildDepError "wai")) + (hsPkgs."wai-logger" or (buildDepError "wai-logger")) + (hsPkgs."HsYAML" or (buildDepError "HsYAML")) + (hsPkgs."optparse-applicative" or (buildDepError "optparse-applicative")) + ]; + buildable = true; + modules = [ "AppTypes" "AppTypes/Configuration" "Janitor" ]; + hsSourceDirs = [ "app" ]; + mainPath = [ "Main.hs" ]; + }; + }; + }; + } // rec { src = (pkgs.lib).mkDefault ../../mateamt; } \ No newline at end of file diff --git a/.plan.nix/matebeamter.nix b/.plan.nix/matebeamter.nix new file mode 100644 index 0000000..00805d3 --- /dev/null +++ b/.plan.nix/matebeamter.nix @@ -0,0 +1,135 @@ +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 = "2.4"; + identifier = { name = "matebeamter"; version = "0.0.0.0"; }; + license = "AGPL-3.0-only"; + copyright = ""; + maintainer = "nek0@nek0.eu"; + author = "nek0"; + homepage = ""; + url = ""; + synopsis = "A reference frontent to mateamt"; + description = ""; + buildType = "Simple"; + isLocal = true; + detailLevel = "FullDetails"; + licenseFiles = [ "LICENSE" ]; + dataDir = ""; + dataFiles = []; + extraSrcFiles = [ "CHANGELOG.md" ]; + extraTmpFiles = []; + extraDocFiles = []; + }; + components = { + exes = { + "matebeamter" = { + depends = [ + (hsPkgs."base" or (buildDepError "base")) + (hsPkgs."mateamt" or (buildDepError "mateamt")) + (hsPkgs."servant" or (buildDepError "servant")) + (hsPkgs."servant-server" or (buildDepError "servant-server")) + (hsPkgs."servant-client" or (buildDepError "servant-client")) + (hsPkgs."servant-client-core" or (buildDepError "servant-client-core")) + (hsPkgs."servant-blaze" or (buildDepError "servant-blaze")) + (hsPkgs."servant-rawm" or (buildDepError "servant-rawm")) + (hsPkgs."aeson" or (buildDepError "aeson")) + (hsPkgs."blaze-html" or (buildDepError "blaze-html")) + (hsPkgs."blaze-markup" or (buildDepError "blaze-markup")) + (hsPkgs."text" or (buildDepError "text")) + (hsPkgs."bytestring" or (buildDepError "bytestring")) + (hsPkgs."hashable" or (buildDepError "hashable")) + (hsPkgs."warp" or (buildDepError "warp")) + (hsPkgs."wai" or (buildDepError "wai")) + (hsPkgs."wai-logger" or (buildDepError "wai-logger")) + (hsPkgs."wai-session" or (buildDepError "wai-session")) + (hsPkgs."http-client" or (buildDepError "http-client")) + (hsPkgs."http-api-data" or (buildDepError "http-api-data")) + (hsPkgs."http-types" or (buildDepError "http-types")) + (hsPkgs."cookie" or (buildDepError "cookie")) + (hsPkgs."mtl" or (buildDepError "mtl")) + (hsPkgs."i18n" or (buildDepError "i18n")) + (hsPkgs."cookie" or (buildDepError "cookie")) + (hsPkgs."split" or (buildDepError "split")) + (hsPkgs."random-bytestring" or (buildDepError "random-bytestring")) + (hsPkgs."base64-bytestring" or (buildDepError "base64-bytestring")) + (hsPkgs."cryptonite" or (buildDepError "cryptonite")) + (hsPkgs."stm" or (buildDepError "stm")) + (hsPkgs."stm-containers" or (buildDepError "stm-containers")) + (hsPkgs."either" or (buildDepError "either")) + (hsPkgs."optparse-applicative" or (buildDepError "optparse-applicative")) + (hsPkgs."HsYAML" or (buildDepError "HsYAML")) + ]; + buildable = true; + modules = [ + "API" + "Client" + "ClientAuth" + "Util" + "Hash" + "Types" + "Types/Auth" + "Types/Page" + "Types/Reader" + "Types/Views" + "Types/User" + "Types/Orphans" + "Types/Configuration" + "Control" + "Control/Auth" + "Control/User" + "Control/Buy" + "Control/Journal" + "View" + "View/Scaffold" + "View/Auth" + "View/User" + "View/Buy" + "View/Journal" + ]; + hsSourceDirs = [ "src" ]; + mainPath = [ "Main.hs" ]; + }; + }; + }; + } // rec { src = (pkgs.lib).mkDefault .././.; } \ No newline at end of file diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..f6c5e85 --- /dev/null +++ b/default.nix @@ -0,0 +1,23 @@ +let + # Import the Haskell.nix library, + pkgs = import (import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz)); + + # Import the file you will create in the stack-to-nix or cabal-to-nix step. + my-pkgs = import ./pkgs.nix; + + # Cabal projects use this: + pkgSet = pkgs.haskell-nix.mkCabalProjectPkgSet { + plan-pkgs = my-pkgs; + pkg-def-extras = []; + modules = [ + # specific package overrides would go here + # example: + # packages.cbors.package.ghcOptions = "-Werror"; + # packages.cbors.patches = [ ./one.patch ]; + # packages.cbors.flags.optimize-gmp = false; + # It may be better to set flags in `cabal.project` instead + # (`plan-to-nix` will include them as defaults). + ]; + }; + +in pkgSet.config.hsPkgs // { _config = pkgSet.config; } diff --git a/pkgs.nix b/pkgs.nix new file mode 100644 index 0000000..c6e307d --- /dev/null +++ b/pkgs.nix @@ -0,0 +1,342 @@ +{ + pkgs = hackage: + { + packages = { + "focus".revision = (((hackage."focus")."1.0.1.3").revisions).default; + "warp".revision = (((hackage."warp")."3.3.4").revisions).default; + "warp".flags.allow-sendfilefd = true; + "warp".flags.network-bytestring = false; + "warp".flags.warp-debug = false; + "http-client".revision = (((hackage."http-client")."0.6.4").revisions).default; + "http-client".flags.network-uri = true; + "cookie".revision = (((hackage."cookie")."0.4.5").revisions).default; + "void".revision = (((hackage."void")."0.7.3").revisions).default; + "void".flags.safe = false; + "semigroupoids".revision = (((hackage."semigroupoids")."5.3.4").revisions).default; + "semigroupoids".flags.comonad = true; + "semigroupoids".flags.doctests = true; + "semigroupoids".flags.unordered-containers = true; + "semigroupoids".flags.distributive = true; + "semigroupoids".flags.tagged = true; + "semigroupoids".flags.containers = true; + "semigroupoids".flags.contravariant = true; + "byteorder".revision = (((hackage."byteorder")."1.0.4").revisions).default; + "singleton-bool".revision = (((hackage."singleton-bool")."0.1.5").revisions).default; + "free".revision = (((hackage."free")."5.1.3").revisions).default; + "Only".revision = (((hackage."Only")."0.1").revisions).default; + "cereal".revision = (((hackage."cereal")."0.5.8.1").revisions).default; + "cereal".flags.bytestring-builder = false; + "exceptions".revision = (((hackage."exceptions")."0.10.3").revisions).default; + "binary".revision = (((hackage."binary")."0.8.6.0").revisions).default; + "attoparsec-iso8601".revision = (((hackage."attoparsec-iso8601")."1.0.1.0").revisions).default; + "attoparsec-iso8601".flags.fast = false; + "attoparsec-iso8601".flags.developer = false; + "product-profunctors".revision = (((hackage."product-profunctors")."0.10.0.0").revisions).default; + "stm-hamt".revision = (((hackage."stm-hamt")."1.2.0.4").revisions).default; + "ghc-prim".revision = (((hackage."ghc-prim")."0.5.3").revisions).default; + "utf8-string".revision = (((hackage."utf8-string")."1.0.1.1").revisions).default; + "old-time".revision = (((hackage."old-time")."1.1.0.3").revisions).default; + "bifunctors".revision = (((hackage."bifunctors")."5.5.6").revisions).default; + "bifunctors".flags.semigroups = true; + "bifunctors".flags.tagged = true; + "split".revision = (((hackage."split")."0.2.3.3").revisions).default; + "stm".revision = (((hackage."stm")."2.5.0.0").revisions).default; + "dec".revision = (((hackage."dec")."0.0.3").revisions).default; + "unix-time".revision = (((hackage."unix-time")."0.4.7").revisions).default; + "http2".revision = (((hackage."http2")."2.0.3").revisions).default; + "http2".flags.devel = false; + "appar".revision = (((hackage."appar")."0.1.8").revisions).default; + "case-insensitive".revision = (((hackage."case-insensitive")."1.2.1.0").revisions).default; + "network-byte-order".revision = (((hackage."network-byte-order")."0.1.2.0").revisions).default; + "unix".revision = (((hackage."unix")."2.7.2.2").revisions).default; + "mtl".revision = (((hackage."mtl")."2.2.2").revisions).default; + "network-uri".revision = (((hackage."network-uri")."2.6.1.0").revisions).default; + "network-info".revision = (((hackage."network-info")."0.2.0.10").revisions).default; + "foldl".revision = (((hackage."foldl")."1.4.5").revisions).default; + "zlib".revision = (((hackage."zlib")."0.6.2.1").revisions).default; + "zlib".flags.non-blocking-ffi = false; + "zlib".flags.pkg-config = false; + "rts".revision = (((hackage."rts")."1.0").revisions).default; + "mmorph".revision = (((hackage."mmorph")."1.1.3").revisions).default; + "cmdargs".revision = (((hackage."cmdargs")."0.10.20").revisions).default; + "cmdargs".flags.testprog = false; + "cmdargs".flags.quotation = true; + "primitive-extras".revision = (((hackage."primitive-extras")."0.8").revisions).default; + "easy-file".revision = (((hackage."easy-file")."0.2.2").revisions).default; + "servant-rawm".revision = (((hackage."servant-rawm")."0.3.2.0").revisions).default; + "servant-rawm".flags.buildexample = false; + "cryptonite".revision = (((hackage."cryptonite")."0.26").revisions).default; + "cryptonite".flags.support_sse = false; + "cryptonite".flags.integer-gmp = true; + "cryptonite".flags.support_rdrand = true; + "cryptonite".flags.support_aesni = true; + "cryptonite".flags.support_deepseq = true; + "cryptonite".flags.support_pclmuldq = false; + "cryptonite".flags.check_alignment = false; + "cryptonite".flags.old_toolchain_inliner = false; + "postgresql-simple".revision = (((hackage."postgresql-simple")."0.6.2").revisions).default; + "adjunctions".revision = (((hackage."adjunctions")."4.4").revisions).default; + "cryptohash-md5".revision = (((hackage."cryptohash-md5")."0.11.100.1").revisions).default; + "invariant".revision = (((hackage."invariant")."0.5.3").revisions).default; + "http-api-data".revision = (((hackage."http-api-data")."0.4.1.1").revisions).default; + "http-api-data".flags.use-text-show = false; + "distributive".revision = (((hackage."distributive")."0.6.1").revisions).default; + "distributive".flags.semigroups = true; + "distributive".flags.tagged = true; + "vector-th-unbox".revision = (((hackage."vector-th-unbox")."0.2.1.7").revisions).default; + "bytestring-builder".revision = (((hackage."bytestring-builder")."0.10.8.2.0").revisions).default; + "bytestring-builder".flags.bytestring_has_builder = true; + "QuickCheck".revision = (((hackage."QuickCheck")."2.13.2").revisions).default; + "QuickCheck".flags.templatehaskell = true; + "scientific".revision = (((hackage."scientific")."0.3.6.2").revisions).default; + "scientific".flags.integer-simple = false; + "scientific".flags.bytestring-builder = false; + "time-manager".revision = (((hackage."time-manager")."0.0.0").revisions).default; + "stm-containers".revision = (((hackage."stm-containers")."1.1.0.4").revisions).default; + "parallel".revision = (((hackage."parallel")."3.2.2.0").revisions).default; + "deepseq".revision = (((hackage."deepseq")."1.4.4.0").revisions).default; + "random".revision = (((hackage."random")."1.1").revisions).default; + "opaleye".revision = (((hackage."opaleye")."0.6.7004.1").revisions).default; + "uuid-types".revision = (((hackage."uuid-types")."1.0.3").revisions).default; + "string-conversions".revision = (((hackage."string-conversions")."0.4.0.1").revisions).default; + "optparse-applicative".revision = (((hackage."optparse-applicative")."0.15.1.0").revisions).default; + "network".revision = (((hackage."network")."3.1.1.1").revisions).default; + "word8".revision = (((hackage."word8")."0.1.3").revisions).default; + "crypto-api".revision = (((hackage."crypto-api")."0.13.3").revisions).default; + "crypto-api".flags.all_cpolys = false; + "splitmix".revision = (((hackage."splitmix")."0.0.3").revisions).default; + "splitmix".flags.optimised-mixer = false; + "splitmix".flags.random = true; + "async".revision = (((hackage."async")."2.2.2").revisions).default; + "async".flags.bench = false; + "dlist".revision = (((hackage."dlist")."0.8.0.7").revisions).default; + "semigroups".revision = (((hackage."semigroups")."0.19.1").revisions).default; + "semigroups".flags.bytestring = true; + "semigroups".flags.unordered-containers = true; + "semigroups".flags.text = true; + "semigroups".flags.tagged = true; + "semigroups".flags.containers = true; + "semigroups".flags.binary = true; + "semigroups".flags.hashable = true; + "semigroups".flags.transformers = true; + "semigroups".flags.deepseq = true; + "semigroups".flags.bytestring-builder = false; + "semigroups".flags.template-haskell = true; + "pureMD5".revision = (((hackage."pureMD5")."2.1.3").revisions).default; + "pureMD5".flags.test = false; + "parsec".revision = (((hackage."parsec")."3.1.13.0").revisions).default; + "http-media".revision = (((hackage."http-media")."0.8.0.0").revisions).default; + "hsc2hs".revision = (((hackage."hsc2hs")."0.68.6").revisions).default; + "hsc2hs".flags.in-ghc-tree = false; + "directory".revision = (((hackage."directory")."1.3.3.0").revisions).default; + "transformers-compat".revision = (((hackage."transformers-compat")."0.6.5").revisions).default; + "transformers-compat".flags.five = false; + "transformers-compat".flags.generic-deriving = true; + "transformers-compat".flags.two = false; + "transformers-compat".flags.five-three = true; + "transformers-compat".flags.mtl = true; + "transformers-compat".flags.four = false; + "transformers-compat".flags.three = false; + "template-haskell".revision = (((hackage."template-haskell")."2.14.0.0").revisions).default; + "psqueues".revision = (((hackage."psqueues")."0.2.7.2").revisions).default; + "vector".revision = (((hackage."vector")."0.12.0.3").revisions).default; + "vector".flags.unsafechecks = false; + "vector".flags.internalchecks = false; + "vector".flags.wall = false; + "vector".flags.boundschecks = true; + "call-stack".revision = (((hackage."call-stack")."0.2.0").revisions).default; + "primitive".revision = (((hackage."primitive")."0.7.0.0").revisions).default; + "profunctors".revision = (((hackage."profunctors")."5.5.1").revisions).default; + "time-locale-compat".revision = (((hackage."time-locale-compat")."0.1.1.5").revisions).default; + "time-locale-compat".flags.old-locale = false; + "safe".revision = (((hackage."safe")."0.3.18").revisions).default; + "blaze-builder".revision = (((hackage."blaze-builder")."0.4.1.0").revisions).default; + "base-compat".revision = (((hackage."base-compat")."0.11.0").revisions).default; + "math-functions".revision = (((hackage."math-functions")."0.3.3.0").revisions).default; + "math-functions".flags.system-expm1 = true; + "math-functions".flags.system-erf = true; + "wai-session".revision = (((hackage."wai-session")."0.3.3").revisions).default; + "time-compat".revision = (((hackage."time-compat")."1.9.2.2").revisions).default; + "time-compat".flags.old-locale = false; + "ansi-terminal".revision = (((hackage."ansi-terminal")."0.10.2").revisions).default; + "ansi-terminal".flags.example = false; + "tagged".revision = (((hackage."tagged")."0.8.6").revisions).default; + "tagged".flags.transformers = true; + "tagged".flags.deepseq = true; + "lens".revision = (((hackage."lens")."4.18.1").revisions).default; + "lens".flags.j = false; + "lens".flags.test-properties = true; + "lens".flags.old-inline-pragmas = false; + "lens".flags.test-templates = true; + "lens".flags.trustworthy = true; + "lens".flags.test-doctests = true; + "lens".flags.benchmark-uniplate = false; + "lens".flags.inlining = true; + "lens".flags.dump-splices = false; + "lens".flags.test-hunit = true; + "lens".flags.safe = false; + "servant-blaze".revision = (((hackage."servant-blaze")."0.9").revisions).default; + "unliftio-core".revision = (((hackage."unliftio-core")."0.1.2.0").revisions).default; + "containers".revision = (((hackage."containers")."0.6.0.1").revisions).default; + "deferred-folds".revision = (((hackage."deferred-folds")."0.9.10.1").revisions).default; + "integer-logarithms".revision = (((hackage."integer-logarithms")."1.0.3").revisions).default; + "integer-logarithms".flags.check-bounds = false; + "integer-logarithms".flags.integer-gmp = true; + "servant-docs".revision = (((hackage."servant-docs")."0.11.4").revisions).default; + "base-prelude".revision = (((hackage."base-prelude")."1.3").revisions).default; + "reflection".revision = (((hackage."reflection")."2.1.5").revisions).default; + "reflection".flags.slow = false; + "reflection".flags.template-haskell = true; + "streaming-commons".revision = (((hackage."streaming-commons")."0.2.1.1").revisions).default; + "streaming-commons".flags.use-bytestring-builder = false; + "bytestring".revision = (((hackage."bytestring")."0.10.8.2").revisions).default; + "ansi-wl-pprint".revision = (((hackage."ansi-wl-pprint")."0.6.9").revisions).default; + "ansi-wl-pprint".flags.example = false; + "mwc-random".revision = (((hackage."mwc-random")."0.14.0.0").revisions).default; + "wai".revision = (((hackage."wai")."3.2.2.1").revisions).default; + "basement".revision = (((hackage."basement")."0.0.11").revisions).default; + "cryptohash-sha1".revision = (((hackage."cryptohash-sha1")."0.11.100.1").revisions).default; + "either".revision = (((hackage."either")."5.0.1.1").revisions).default; + "old-locale".revision = (((hackage."old-locale")."1.0.0.7").revisions).default; + "StateVar".revision = (((hackage."StateVar")."1.2").revisions).default; + "vault".revision = (((hackage."vault")."0.3.1.3").revisions).default; + "vault".flags.useghc = true; + "mime-types".revision = (((hackage."mime-types")."0.1.0.9").revisions).default; + "pcg-random".revision = (((hackage."pcg-random")."0.1.3.6").revisions).default; + "contravariant".revision = (((hackage."contravariant")."1.5.2").revisions).default; + "contravariant".flags.semigroups = true; + "contravariant".flags.tagged = true; + "contravariant".flags.statevar = true; + "HsYAML".revision = (((hackage."HsYAML")."0.2.1.0").revisions).default; + "HsYAML".flags.exe = false; + "type-equality".revision = (((hackage."type-equality")."1").revisions).default; + "vector-builder".revision = (((hackage."vector-builder")."0.3.8").revisions).default; + "blaze-markup".revision = (((hackage."blaze-markup")."0.8.2.3").revisions).default; + "postgresql-libpq".revision = (((hackage."postgresql-libpq")."0.9.4.2").revisions).default; + "postgresql-libpq".flags.use-pkg-config = false; + "uuid".revision = (((hackage."uuid")."1.3.13").revisions).default; + "text".revision = (((hackage."text")."1.2.3.1").revisions).default; + "Cabal".revision = (((hackage."Cabal")."2.4.0.1").revisions).default; + "unordered-containers".revision = (((hackage."unordered-containers")."0.2.10.0").revisions).default; + "unordered-containers".flags.debug = false; + "base64-bytestring".revision = (((hackage."base64-bytestring")."1.0.0.2").revisions).default; + "aeson-pretty".revision = (((hackage."aeson-pretty")."0.8.8").revisions).default; + "aeson-pretty".flags.lib-only = false; + "base".revision = (((hackage."base")."4.12.0.0").revisions).default; + "servant-client".revision = (((hackage."servant-client")."0.16.0.1").revisions).default; + "comonad".revision = (((hackage."comonad")."5.0.6").revisions).default; + "comonad".flags.distributive = true; + "comonad".flags.test-doctests = true; + "comonad".flags.containers = true; + "time".revision = (((hackage."time")."1.8.0.2").revisions).default; + "data-default-class".revision = (((hackage."data-default-class")."0.1.2.0").revisions).default; + "universe-base".revision = (((hackage."universe-base")."1.1.1").revisions).default; + "base16-bytestring".revision = (((hackage."base16-bytestring")."0.1.1.6").revisions).default; + "iproute".revision = (((hackage."iproute")."1.7.8").revisions).default; + "transformers".revision = (((hackage."transformers")."0.5.6.2").revisions).default; + "hashable".revision = (((hackage."hashable")."1.3.0.0").revisions).default; + "hashable".flags.sse2 = true; + "hashable".flags.integer-gmp = true; + "hashable".flags.sse41 = false; + "hashable".flags.examples = false; + "wai-extra".revision = (((hackage."wai-extra")."3.0.28").revisions).default; + "wai-extra".flags.build-example = false; + "attoparsec".revision = (((hackage."attoparsec")."0.13.2.3").revisions).default; + "attoparsec".flags.developer = false; + "blaze-html".revision = (((hackage."blaze-html")."0.9.1.2").revisions).default; + "colour".revision = (((hackage."colour")."2.3.5").revisions).default; + "transformers-base".revision = (((hackage."transformers-base")."0.4.5.2").revisions).default; + "transformers-base".flags.orphaninstances = true; + "file-embed".revision = (((hackage."file-embed")."0.0.11").revisions).default; + "entropy".revision = (((hackage."entropy")."0.4.1.5").revisions).default; + "entropy".flags.halvm = false; + "filepath".revision = (((hackage."filepath")."1.4.2.1").revisions).default; + "auto-update".revision = (((hackage."auto-update")."0.1.6").revisions).default; + "servant-client-core".revision = (((hackage."servant-client-core")."0.16").revisions).default; + "unix-compat".revision = (((hackage."unix-compat")."0.5.2").revisions).default; + "unix-compat".flags.old-time = false; + "monad-control".revision = (((hackage."monad-control")."1.0.2.3").revisions).default; + "process".revision = (((hackage."process")."1.6.5.0").revisions).default; + "list-t".revision = (((hackage."list-t")."1.0.4").revisions).default; + "kan-extensions".revision = (((hackage."kan-extensions")."5.2").revisions).default; + "wai-logger".revision = (((hackage."wai-logger")."2.3.6").revisions).default; + "resourcet".revision = (((hackage."resourcet")."1.2.2").revisions).default; + "pretty".revision = (((hackage."pretty")."1.1.3.6").revisions).default; + "cabal-doctest".revision = (((hackage."cabal-doctest")."1.0.8").revisions).default; + "aeson".revision = (((hackage."aeson")."1.4.6.0").revisions).default; + "aeson".flags.cffi = false; + "aeson".flags.fast = false; + "aeson".flags.bytestring-builder = false; + "aeson".flags.developer = false; + "wai-app-static".revision = (((hackage."wai-app-static")."3.1.6.3").revisions).default; + "wai-app-static".flags.print = false; + "http-types".revision = (((hackage."http-types")."0.12.3").revisions).default; + "ghc-boot-th".revision = (((hackage."ghc-boot-th")."8.6.5").revisions).default; + "i18n".revision = (((hackage."i18n")."0.4.0.0").revisions).default; + "servant-server".revision = (((hackage."servant-server")."0.16.2").revisions).default; + "primitive-unlifted".revision = (((hackage."primitive-unlifted")."0.1.2.0").revisions).default; + "base-orphans".revision = (((hackage."base-orphans")."0.8.1").revisions).default; + "http-date".revision = (((hackage."http-date")."0.0.8").revisions).default; + "random-bytestring".revision = (((hackage."random-bytestring")."0.1.3.2").revisions).default; + "random-bytestring".flags.with-pcg = true; + "servant".revision = (((hackage."servant")."0.16.2").revisions).default; + "th-abstraction".revision = (((hackage."th-abstraction")."0.3.1.0").revisions).default; + "memory".revision = (((hackage."memory")."0.15.0").revisions).default; + "memory".flags.support_bytestring = true; + "memory".flags.support_basement = true; + "memory".flags.support_foundation = true; + "memory".flags.support_deepseq = true; + "fast-logger".revision = (((hackage."fast-logger")."3.0.0").revisions).default; + "bsb-http-chunked".revision = (((hackage."bsb-http-chunked")."0.0.0.4").revisions).default; + "array".revision = (((hackage."array")."0.5.3.0").revisions).default; + "simple-sendfile".revision = (((hackage."simple-sendfile")."0.2.30").revisions).default; + "simple-sendfile".flags.allow-bsd = true; + "integer-gmp".revision = (((hackage."integer-gmp")."1.0.2.0").revisions).default; + }; + compiler = { + version = "8.6.5"; + nix-name = "ghc865"; + packages = { + "binary" = "0.8.6.0"; + "ghc-prim" = "0.5.3"; + "stm" = "2.5.0.0"; + "unix" = "2.7.2.2"; + "mtl" = "2.2.2"; + "rts" = "1.0"; + "deepseq" = "1.4.4.0"; + "parsec" = "3.1.13.0"; + "directory" = "1.3.3.0"; + "template-haskell" = "2.14.0.0"; + "containers" = "0.6.0.1"; + "bytestring" = "0.10.8.2"; + "text" = "1.2.3.1"; + "Cabal" = "2.4.0.1"; + "base" = "4.12.0.0"; + "time" = "1.8.0.2"; + "transformers" = "0.5.6.2"; + "filepath" = "1.4.2.1"; + "process" = "1.6.5.0"; + "pretty" = "1.1.3.6"; + "ghc-boot-th" = "8.6.5"; + "array" = "0.5.3.0"; + "integer-gmp" = "1.0.2.0"; + }; + }; + }; + extras = hackage: + { + packages = { + mateamt = ./.plan.nix/mateamt.nix; + matebeamter = ./.plan.nix/matebeamter.nix; + }; + }; + modules = [ + ({ lib, ... }: + { + packages = { + "mateamt" = { flags = { "develop" = lib.mkOverride 900 false; }; }; + "matebeamter" = { flags = {}; }; + }; + }) + ]; + } \ No newline at end of file diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..df3de65 --- /dev/null +++ b/shell.nix @@ -0,0 +1,6 @@ +{ pkgs ? import {} }: + +let + hsPkgs = import ./default.nix {}; +in + hsPkgs.matebeamter.components.all