diff --git a/pkgs/clan-cli/default.nix b/pkgs/clan-cli/default.nix index 9b6ae9cce..964fce2c1 100644 --- a/pkgs/clan-cli/default.nix +++ b/pkgs/clan-cli/default.nix @@ -55,6 +55,9 @@ let source = runCommand "clan-cli-source" { } '' cp -r ${./.} $out chmod -R +w $out + # In cases where the devshell created this file, this will already exist + rm -f $out/clan_cli/nixpkgs + ln -sf ${nixpkgs'} $out/clan_cli/nixpkgs cp -r ${../../templates} $out/clan_cli/templates '';