Skip to content

Instantly share code, notes, and snippets.

@mebubo
Last active May 2, 2020 22:07
Show Gist options
  • Save mebubo/31d7aabfe4375e30e1e839ad05e5b933 to your computer and use it in GitHub Desktop.
Save mebubo/31d7aabfe4375e30e1e839ad05e5b933 to your computer and use it in GitHub Desktop.
# https://www.srid.ca/1948201.html
let
pkgs = import <nixpkgs> { };
compilerVersion = "ghc865";
compiler = pkgs.haskell.packages."${compilerVersion}";
in
compiler.developPackage {
root = ./.;
source-overrides = {
named = builtins.fetchTarball
"https://github.com/monadfix/named/archive/e684a00.tar.gz";
};
modifier = drv:
pkgs.haskell.lib.addBuildTools drv (with pkgs.haskellPackages;
[ cabal-install
ghcid
]);
}
# https://www.srid.ca/1948201.html
let
pkgs = import <nixpkgs> { };
in
pkgs.haskellPackages.developPackage {
root = ./.;
modifier = drv:
pkgs.haskell.lib.addBuildTools drv (with pkgs.haskellPackages;
[ cabal-install
ghcid
]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment