[Nix-dev] [PATCH] Extra libraries required for web dev with Snap
Daniel Santa Cruz
dstcruz at gmail.com
Thu Aug 2 03:20:01 CEST 2012
The code has a bug. I can re-send the patch, or advise as to how to fix it.
The line
+ snapLoaderDynamic = callPackage
../development/libraries/haskell/snap/loader-dynamic {};
should say
+ snapLoaderDynamic = callPackage
../development/libraries/haskell/snap/loader-dynamic.nix {};
My apologies. I do not know how this got here after I ran my successful
tests.
Daniel
On Wed, Aug 1, 2012 at 9:13 PM, Daniel Santa Cruz <dstcruz at gmail.com> wrote:
> ---
> pkgs/development/libraries/haskell/snap/loader-dynamic.nix | 14
> ++++++++++++++
> pkgs/top-level/haskell-packages.nix | 2 ++
> 2 files changed, 16 insertions(+)
> create mode 100644
> pkgs/development/libraries/haskell/snap/loader-dynamic.nix
>
> diff --git a/pkgs/development/libraries/haskell/snap/loader-dynamic.nix
> b/pkgs/development/libraries/haskell/snap/loader-dynamic.nix
> new file mode 100644
> index 0000000..5815496
> --- /dev/null
> +++ b/pkgs/development/libraries/haskell/snap/loader-dynamic.nix
> @@ -0,0 +1,14 @@
> +{ cabal, directoryTree, hint, mtl, snapCore, time }:
> +
> +cabal.mkDerivation (self: {
> + pname = "snap-loader-dynamic";
> + version = "0.9.0";
> + sha256 = "1pbpvi20an077klvha1dflnlxpfb6m81n9d50hjhidf6430cmmhm";
> + buildDepends = [ directoryTree hint mtl snapCore time ];
> + meta = {
> + homepage = "http://snapframework.com/";
> + description = "Snap: A Haskell Web Framework: dynamic loader";
> + license = self.stdenv.lib.licenses.bsd3;
> + platforms = self.ghc.meta.platforms;
> + };
> +})
> diff --git a/pkgs/top-level/haskell-packages.nix
> b/pkgs/top-level/haskell-packages.nix
> index 97b1782..5485622 100644
> --- a/pkgs/top-level/haskell-packages.nix
> +++ b/pkgs/top-level/haskell-packages.nix
> @@ -1325,6 +1325,8 @@ let result = let callPackage = x : y : modifyPrio
> (newScope result.final x y);
>
> snapCore = callPackage ../development/libraries/haskell/snap/core.nix
> {};
>
> + snapLoaderDynamic = callPackage
> ../development/libraries/haskell/snap/loader-dynamic {};
> +
> snapLoaderStatic = callPackage
> ../development/libraries/haskell/snap/loader-static.nix {};
>
> snapServer = callPackage
> ../development/libraries/haskell/snap/server.nix {};
> --
> 1.7.11.3
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120801/5fbb9b53/attachment.html
More information about the nix-dev
mailing list