Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,15 @@ ENV RUSTUP_HOME=/home/petros/.rustup
ENV CARGO_HOME=/home/petros/.cargo
ENV PATH=/home/petros/.sp1-shims/bin:/home/petros/.cargo/bin:\
/petros/bin:$PATH
ENV PKG_CONFIG_PATH=/petros/lib/pkgconfig
ENV CC=clang
ENV LIBCLANG_PATH=/petros/lib
USER 10001:10001

# Test that all expected binaries are working.
COPY src/scripts/test.sh /home/petros/test.sh
RUN sh /home/petros/test.sh bash ls cat echo openssl curl jq gpg \
pkg-config rustc cargo node docker doctl cosign make file && \
pkg-config rustc cargo node docker doctl cosign crane make file protoc go clang && \
rm /home/petros/test.sh
RUN which cargo-prove
RUN cargo prove --version
Expand Down
5 changes: 3 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,15 @@
name = "petros-env";
paths = with pkgs; [
bash coreutils git cacert curl jq gnumake file
clang lld pkg-config
openssl zlib lz4 snappy zstd
clang lld llvmPackages.libclang.lib pkg-config protobuf go
openssl openssl.dev zlib zlib.dev lz4 lz4.dev snappy zstd zstd.dev
attic-client
attic-server
nodejs
docker-client
doctl
cosign
crane

# Vendored Rust 1.89.0 toolchain.
rust_1_89.packages.stable.rustc
Expand Down
2 changes: 1 addition & 1 deletion nix.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sandbox = true
require-sigs = true
accept-flake-config = false
connect-timeout = 10
stalled-download-timeout = 60
stalled-download-timeout = 300
download-attempts = 5
max-jobs = auto
cores = 0
Expand Down
Loading