From 7825b799899b53a9f2251dbac1179b58d59e993c Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 24 Sep 2022 12:46:18 -0700 Subject: fix(home/shell): set value for PKG_CONFIG_PATH I don't know why I need to do this, but otherwise I can't build rust packages with `cargo build' if it's not set ... --- home/shell/fish/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'home') diff --git a/home/shell/fish/default.nix b/home/shell/fish/default.nix index d000cd9..c6143f8 100644 --- a/home/shell/fish/default.nix +++ b/home/shell/fish/default.nix @@ -20,6 +20,10 @@ in end end end + + # I don't know why I need to do this, but otherwise I can't + # build rust packages with `cargo build' if it's not set ... + set -Ux PKG_CONFIG_PATH "${pkgs.openssl.dev}/lib/pkgconfig" ''; loginShellInit = lib.mkIf swayEnabled '' if test -z "$DISPLAY"; and test (tty) = "/dev/tty1" -- cgit 1.4.1