Skip to content

Commit

Permalink
pkgs.pkg-config is needed on NixOS
Browse files Browse the repository at this point in the history
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 jeaye#218
  • Loading branch information
correabuscar committed Apr 11, 2024
1 parent d2a6282 commit 0a6d147
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pkgs.stdenv.mkDerivation
name = "ncurses-rs";
buildInputs = with pkgs;
[
pkgs.pkg-config
pkgs.cargo
pkgs.rustup
pkgs.rustfmt
Expand Down

0 comments on commit 0a6d147

Please sign in to comment.