mirror of
https://github.com/Yvee1/hascard.git
synced 2024-11-22 12:51:58 +03:00
8e7b6ef079
This allows you to build the project with `nix-build`, as well as drop into a dev shell via `nix-shell`.
12 lines
241 B
Nix
12 lines
241 B
Nix
let
|
|
pkgs = import <nixpkgs> { };
|
|
in
|
|
pkgs.haskellPackages.developPackage {
|
|
root = ./.;
|
|
modifier = drv:
|
|
pkgs.haskell.lib.addBuildTools drv (with pkgs.haskellPackages;
|
|
[ cabal-install
|
|
ghcid
|
|
]);
|
|
}
|