diff options
author | Franck Cuny <franck@fcuny.net> | 2022-09-24 12:46:18 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-09-24 12:46:18 -0700 |
commit | 7825b799899b53a9f2251dbac1179b58d59e993c (patch) | |
tree | 4844e5c0d6ca8ec7d99b56e8e5164be8205f96bc | |
parent | fix(system/packages): install openssl-dev package (diff) | |
download | world-7825b799899b53a9f2251dbac1179b58d59e993c.tar.gz |
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 ...
-rw-r--r-- | home/shell/fish/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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" |