From 519956797d905c0925b8dd418ceb17c7495ad30a Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Fri, 20 Jun 2025 16:27:42 +0200 Subject: set up haskell bindings for c lib --- readme.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 9ed56b8..49bef30 100644 --- a/readme.md +++ b/readme.md @@ -53,18 +53,18 @@ In addition, these dependencies should be available at runtime: ### Building -To manually build foobar, run the following commands: +To set up the build environment, run the following command: ```sh git clone https://github.com/hannesschulze/foobar.git && cd foobar -meson setup build --prefix=/usr -ninja -C build +nix develop +source setup-lib.sh ``` -Then, install it using the following command: +To build foobar, run ```sh -sudo ninja install -C build +cabal build foobar ``` ## Usage -- cgit v1.3.1