diff --git a/Dockerfile b/Dockerfile index dc4398c..510854d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,9 +16,7 @@ RUN mkdir -p /etc/nix && \ echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf # Install devenv (the Nix way, not the apt-get way) -RUN nix profile add nixpkgs#devenv - -# Cleanup, otherwise nix panicks -RUN rm -rf /homeless-shelter +RUN nix profile add nixpkgs#devenv && \ + nix-collect-garbage -d CMD ["/bin/bash"]