about summary refs log tree commit diff
path: root/home/shell/fish/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/shell/fish/default.nix')
-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"