mirror of
https://github.com/Yvee1/hascard.git
synced 2024-11-21 17:50:12 +03:00
Add Nix support
This allows you to build the project with `nix-build`, as well as drop into a dev shell via `nix-shell`.
This commit is contained in:
parent
d7befd5f0a
commit
8e7b6ef079
11
default.nix
Normal file
11
default.nix
Normal file
@ -0,0 +1,11 @@
|
||||
let
|
||||
pkgs = import <nixpkgs> { };
|
||||
in
|
||||
pkgs.haskellPackages.developPackage {
|
||||
root = ./.;
|
||||
modifier = drv:
|
||||
pkgs.haskell.lib.addBuildTools drv (with pkgs.haskellPackages;
|
||||
[ cabal-install
|
||||
ghcid
|
||||
]);
|
||||
}
|
Loading…
Reference in New Issue
Block a user