Switch to fetchGit.
Some checks failed
build-staging Build build-staging has failed

This commit is contained in:
Tom Alexander
2026-07-13 21:51:52 -04:00
parent a2b3bf3c69
commit c858893be3
2 changed files with 6 additions and 10 deletions

View File

@@ -2,9 +2,6 @@
# Builder
#
FROM scratch AS private
ADD git@code.fizz.buzz:talexander/homepage_private.git /homepage_private
FROM nixos/nix:2.31.3 AS builder
RUN tee -a /etc/nix/nix.conf <<EOF
@@ -18,8 +15,7 @@ RUN cp "$(nix build nixpkgs#cacert --print-out-paths)/etc/ssl/certs/ca-bundle.cr
COPY . /tmp/build
WORKDIR /tmp/build
COPY --link --from=private /homepage_private /private
RUN nix build --override-input homepage_private /private '.#docker_env'
RUN nix build --mount=type=ssh '.#docker_env'
# Export the built closure to a folder
RUN mkdir /tmp/nix-store-closure