vcpkg: add quotations

This commit is contained in:
h7x4 2024-07-01 20:06:14 +02:00
parent 2d92989883
commit aac9605ed3
No known key found for this signature in database
GPG Key ID: 9F2F7D8250F35146

View File

@ -21,14 +21,14 @@ stdenvNoCC.mkDerivation (finalAttrs: {
installPhase = ''
runHook preInstall
mkdir -p $out/bin $out/share/vcpkg/scripts/buildsystems
cp --preserve=mode -r ./{docs,ports,triplets,scripts,.vcpkg-root,versions,LICENSE.txt} $out/share/vcpkg/
mkdir -p "$out/bin" "$out/share/vcpkg/scripts/buildsystems"
cp --preserve=mode -r ./{docs,ports,triplets,scripts,.vcpkg-root,versions,LICENSE.txt} "$out/share/vcpkg/"
makeWrapper "${vcpkg-tool}/bin/vcpkg" "$out/bin/vcpkg" \
--set-default VCPKG_ROOT "$out/share/vcpkg"
ln -s $out/bin/vcpkg $out/share/vcpkg/vcpkg
touch $out/share/vcpkg/vcpkg.disable-metrics
ln -s "$out/bin/vcpkg" "$out/share/vcpkg/vcpkg"
touch "$out/share/vcpkg/vcpkg.disable-metrics"
runHook postInstall
'';