Created
November 24, 2015 15:48
-
-
Save et4te/23d666432e9a095f1edd to your computer and use it in GitHub Desktop.
deps don't get picked up by nix-shell
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
{ pkgs ? (import <nixpkgs> {}), | |
haskellPackages ? (import <nixpkgs> { }).haskellPackages, | |
stdenv ? (import <nixpkgs> { }).stdenv }: | |
let | |
inherit (haskellPackages) | |
base bytestring heist lens MonadCatchIO-transformers mtl snap | |
snap-core snap-loader-static snap-server text time xmlhtml | |
snaplet-sass snaplet-acid-state acid-state safecopy uuid | |
containers aeson base64-bytestring directory Rasterific | |
JuicyPixels haskell-qrencode regex-tdfa shell-conduit | |
conduit-extra resourcet; | |
in with haskellPackages; mkDerivation { | |
pname = "package-name"; | |
version = "0.1.0.0"; | |
src = ./.; | |
isLibrary = false; | |
isExecutable = true; | |
buildTools = [ pkgs.git cabal-install ]; | |
buildDepends = [ | |
base bytestring heist lens MonadCatchIO-transformers mtl snap | |
snap-core snap-loader-static snap-server text time xmlhtml | |
snaplet-sass snaplet-acid-state acid-state safecopy uuid | |
containers aeson base64-bytestring directory Rasterific | |
JuicyPixels diagrams diagrams-rasterific haskell-qrencode | |
regex-tdfa shell-conduit conduit-extra resourcet | |
]; | |
license = stdenv.lib.licenses.unfree; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment