Add a shell.nix and default.nix using flake-compat

This commit is contained in:
Utku Demir 2020-11-27 11:11:19 +13:00
parent 2037453457
commit 18d3443047
No known key found for this signature in database
GPG Key ID: F3F8629C3E0BF60B
3 changed files with 7 additions and 2 deletions

View File

@ -43,8 +43,7 @@ Keybindings:
All contributions, issues and feature requests are welcome.
To hack on it, simply run `nix develop` (which requires a Nix version
with flakes support) and use `cabal` as usual.
To hack on it, simply run `nix-shell` (or `nix develop`) and use `cabal` as usual.
# Related tools

3
default.nix Normal file
View File

@ -0,0 +1,3 @@
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) {
src = ./.;
}).defaultNix

3
shell.nix Normal file
View File

@ -0,0 +1,3 @@
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) {
src = ./.;
}).shellNix