Fix build.sh: use --no-link to avoid result symlink conflict
This commit is contained in:
+4
-4
@@ -13,10 +13,10 @@ attic=$(nix build --inputs-from . nixpkgs#attic-client --print-out-paths --no-li
|
||||
"${attic}" login ci "${ATTIC_SERVER}" "${ATTIC_TOKEN}"
|
||||
|
||||
echo "Building packages..."
|
||||
nix build ".#packages.${ARCH}.hello-world" --print-build-logs
|
||||
"${attic}" push "${ATTIC_CACHE}" result
|
||||
out=$(nix build ".#packages.${ARCH}.hello-world" --print-build-logs --print-out-paths --no-link)
|
||||
"${attic}" push "${ATTIC_CACHE}" ${out}
|
||||
|
||||
nix build ".#packages.${ARCH}.xonsh" --print-build-logs
|
||||
"${attic}" push "${ATTIC_CACHE}" result
|
||||
out=$(nix build ".#packages.${ARCH}.xonsh" --print-build-logs --print-out-paths --no-link)
|
||||
"${attic}" push "${ATTIC_CACHE}" ${out}
|
||||
|
||||
echo "✅ Build completed for ${ARCH}"
|
||||
|
||||
Reference in New Issue
Block a user