From 0a6d147be2547c7ab139b8400355cb9616bb7a25 Mon Sep 17 00:00:00 2001 From: correabuscar Date: Thu, 11 Apr 2024 23:26:01 +0200 Subject: [PATCH] `pkgs.pkg-config` is needed on NixOS else this will fail to find `menu` lib: $ nix-shell $ cargo test --features=menu unless you'd do it like this: $ RUSTFLAGS='-l menu' cargo test --features=menu This was true even before PR #218 --- shell.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/shell.nix b/shell.nix index 0442e4b..d93077f 100644 --- a/shell.nix +++ b/shell.nix @@ -5,6 +5,7 @@ pkgs.stdenv.mkDerivation name = "ncurses-rs"; buildInputs = with pkgs; [ + pkgs.pkg-config pkgs.cargo pkgs.rustup pkgs.rustfmt