about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-09-24 12:46:18 -0700
committerFranck Cuny <franck@fcuny.net>2022-09-24 12:46:18 -0700
commit7825b799899b53a9f2251dbac1179b58d59e993c (patch)
tree4844e5c0d6ca8ec7d99b56e8e5164be8205f96bc
parentfix(system/packages): install openssl-dev package (diff)
downloadworld-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.nix4
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"