Merge pull request 'clan-cli: Fix nix develop not working in template because of symlink' (#1462) from Qubasa-main into main

This commit is contained in:
clan-bot
2024-05-27 12:05:17 +00:00

View File

@@ -83,7 +83,7 @@ let
cp -r ${./.} $out cp -r ${./.} $out
chmod -R +w $out chmod -R +w $out
rm $out/clan_cli/config/jsonschema rm $out/clan_cli/config/jsonschema
ln -s ${nixpkgs'} $out/clan_cli/nixpkgs ln -sf ${nixpkgs'} $out/clan_cli/nixpkgs
cp -r ${../../lib/jsonschema} $out/clan_cli/config/jsonschema cp -r ${../../lib/jsonschema} $out/clan_cli/config/jsonschema
''; '';
@@ -101,7 +101,7 @@ let
outputs = _inputs: { }; outputs = _inputs: { };
} }
EOF EOF
ln -s ${nixpkgs} $out/path ln -sf ${nixpkgs} $out/path
nix flake update $out \ nix flake update $out \
--store ./. \ --store ./. \
--extra-experimental-features 'nix-command flakes' --extra-experimental-features 'nix-command flakes'