Skip to content

Instantly share code, notes, and snippets.

@freeman42x
Created October 17, 2019 14:39
Show Gist options
  • Save freeman42x/e68fb43d484508eee28668c1f9f50bf1 to your computer and use it in GitHub Desktop.
Save freeman42x/e68fb43d484508eee28668c1f9f50bf1 to your computer and use it in GitHub Desktop.
adding extra dependencies to a Miso jsaddle project
with (import (builtins.fetchTarball {
url = "https://github.com/dmjio/miso/archive/4e15d92cc4f37605fc398229695de4d903ef8a47.tar.gz";
sha256 = "0kg9lg18qdsnb6gw3jmnl49widzf5cy151bls7k09d5dxlm0myd8";
}) {});
with pkgs.haskell.packages;
let
jsaddle-warp = ... fetch jsaddle-warp here ...
in
ghc865.callCabal2nix "app" ./. { miso = ghc865.miso-jsaddle; inherit jsaddle-warp; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment