home-manager/common: Fix flake-src function

This commit is contained in:
Jack O'Sullivan 2022-02-22 20:59:20 +00:00
parent fcad909111
commit 5bb7985883

View File

@ -125,7 +125,7 @@ in
fish_greeting = ":"; fish_greeting = ":";
flake-src = { flake-src = {
description = "cd into a flake reference's source directory"; description = "cd into a flake reference's source directory";
body = ''cd (nix eval $argv[2..] --impure --raw --expr "builtins.getFlake $argv[1]")''; body = ''cd (nix eval $argv[2..] --impure --raw --expr "builtins.getFlake \"$argv[1]\"")'';
}; };
}; };
shellAbbrs = { shellAbbrs = {