Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@teh
Created March 1, 2015 15:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save teh/34b0ede5168b83998ea8 to your computer and use it in GitHub Desktop.
Save teh/34b0ede5168b83998ea8 to your computer and use it in GitHub Desktop.
with (import <nixpkgs> {}).pkgs;
let monad-control = pkgs.haskellngPackages.callPackage ./monad-control-0.3.nix {};
pkg = haskellngPackages.callPackage
({ mkDerivation, base, monad-control, stdenv, yesod }:
mkDerivation {
pname = "yesod-nix";
version = "0.1.0.0";
src = ./.;
isLibrary = false;
isExecutable = true;
buildDepends = [ base monad-control yesod ];
license = stdenv.lib.licenses.unfree;
}) { monad-control = monad-control; };
in
pkg.env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment