From 2d052f2dde4694cf1b28af516447d28b22c0d028 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Sat, 16 Mar 2024 14:00:55 +0000 Subject: [PATCH] Build with new buildNimPackage function --- Tuprules.tup | 1 + shell.nix | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Tuprules.tup b/Tuprules.tup index bdc23e3..c5c22b0 100644 --- a/Tuprules.tup +++ b/Tuprules.tup @@ -1 +1,2 @@ +NIM = $(DIRENV) $(NIM) NIM_FLAGS += --backend:cpp diff --git a/shell.nix b/shell.nix index 42448cd..ea5ec2f 100644 --- a/shell.nix +++ b/shell.nix @@ -1 +1,5 @@ -let pkgs = import { }; in pkgs.nim2Packages.tkrzw +let pkgs = import { }; in pkgs.buildNimPackage { + name = "dummy"; + nativeBuildInputs = [ pkgs.pkg-config ]; + buildInputs = [ pkgs.tkrzw ]; +} -- 2.45.2