From 5bb798588336bfc32c277606b4bcbfd3e9588aff Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Tue, 22 Feb 2022 20:59:20 +0000 Subject: [PATCH] home-manager/common: Fix `flake-src` function --- home-manager/modules/common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home-manager/modules/common.nix b/home-manager/modules/common.nix index 08d6f62..7ec206e 100644 --- a/home-manager/modules/common.nix +++ b/home-manager/modules/common.nix @@ -125,7 +125,7 @@ in fish_greeting = ":"; flake-src = { 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 = {