1
1
mirror of https://github.com/Yvee1/hascard.git synced 2024-11-22 12:51:58 +03:00
hascard/default.nix
Sridhar Ratnakumar 8e7b6ef079
Add Nix support
This allows you to build the project with `nix-build`, as well as drop into a dev shell via `nix-shell`.
2020-07-20 07:16:41 -04:00

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
]);
}