Created
July 22, 2015 21:22
-
-
Save codedmart/8cd3ed277c2d559a190d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { mkDerivation, aeson, base, bytestring, directory, either | |
| , engine-io, engine-io-wai, http-types, js-jquery, lucid, random | |
| , servant, servant-client, servant-docs, servant-jquery | |
| , servant-lucid, servant-server, socket-io, stdenv, text, time | |
| , transformers, wai, wai-extra, warp | |
| }: | |
| mkDerivation { | |
| pname = "servant-examples"; | |
| version = "0.4.1"; | |
| src = ./.; | |
| isLibrary = false; | |
| isExecutable = true; | |
| buildDepends = [ | |
| aeson base bytestring directory either engine-io engine-io-wai | |
| http-types js-jquery lucid random servant servant-client | |
| servant-docs servant-jquery servant-lucid servant-server socket-io | |
| text time transformers wai wai-extra warp | |
| ]; | |
| homepage = "http://haskell-servant.github.io/"; | |
| description = "Example programs for servant"; | |
| license = stdenv.lib.licenses.bsd3; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| error: anonymous function at /Users/bmartin/Work/opensrc/servant/servant-examples/default.nix:1:1 called without required argument ‘engine-io-wai’, at /usr/local/nix/nixpkgs/lib/customisation.nix:58:12 | |
| (use ‘--show-trace’ to show detailed location information) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let | |
| pkgs = import <nixpkgs> {}; | |
| haskellPackages = pkgs.haskell-ng.packages.ghc7101.override { | |
| overrides = self: super: { | |
| servant-examples = self.callPackage ./. {}; | |
| }; | |
| }; | |
| in haskellPackages.servant-examples.env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment