From 3d7c8bd179ccbacdd442471b1abb483328f7ee4d Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sun, 12 Jun 2016 01:14:08 -0400 Subject: [PATCH] fish: fix completion from NIX_PROFILES Load NIX_PROFILES at shell startup, not at build time. This one was missed in #16039. --- pkgs/shells/fish/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/shells/fish/default.nix b/pkgs/shells/fish/default.nix index 62ec6194fcd..0124f914866 100644 --- a/pkgs/shells/fish/default.nix +++ b/pkgs/shells/fish/default.nix @@ -74,7 +74,7 @@ stdenv.mkDerivation rec { # make fish pick up completions from nix profile if status --is-interactive - set -l profiles (echo $NIX_PROFILES | ${coreutils}/bin/tr ' ' '\n') + set -l profiles (echo \$NIX_PROFILES | ${coreutils}/bin/tr ' ' '\n') set fish_complete_path \$profiles"/share/fish/vendor_completions.d" \$fish_complete_path end EOF