mirror of
https://github.com/Yvee1/hascard.git
synced 2024-09-11 07:15:36 +03:00
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
|
|
]);
|
|
}
|