diff --git a/devshell/commands.nix b/devshell/commands.nix index a3fa286..97774e1 100644 --- a/devshell/commands.nix +++ b/devshell/commands.nix @@ -20,7 +20,7 @@ in [ -e "${homeFlake}" ] && echo "${homeFlake} already exists" && exit 1 mkdir -p "$(dirname "${homeFlake}")" - ln -s "$(pwd)/flake.nix" "${homeFlake}" + ln -sf "$(pwd)/flake.nix" "${homeFlake}" echo "Installed link to $(pwd)/flake.nix at ${homeFlake}" ''; }