From 1373a21cf452db000176148dcd32cb17b54dcad8 Mon Sep 17 00:00:00 2001 From: Anton-Latukha Date: Sat, 18 Apr 2020 11:22:31 +0300 Subject: [PATCH] README: use proper cabal v2-* (Nix local build system) keys Info: https://www.haskell.org/cabal/users-guide/nix-local-build-overview.html M README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9c79c39..6221c32 100644 --- a/README.md +++ b/README.md @@ -18,13 +18,13 @@ $ git clone --recursive https://github.com/haskell-nix/hnix.git ... $ cd hnix $ nix-shell -$ cabal new-configure --enable-tests -$ cabal new-build -$ cabal new-test +$ cabal v2-configure --enable-tests +$ cabal v2-build +$ cabal v2-test # To run all of the tests, which takes up to a minute: -$ env ALL_TESTS=yes cabal new-test +$ env ALL_TESTS=yes cabal v2-test # To run only specific tests (see `tests/Main.hs` for a list) -$ env NIXPKGS_TESTS=yes PRETTY_TESTS=1 cabal new-test +$ env NIXPKGS_TESTS=yes PRETTY_TESTS=1 cabal v2-test $ ./dist/build/hnix/hnix --help ```