]> git.immae.eu Git - github/fretlink/docker-nix.git/blobdiff - debian/Dockerfile
volume: no need to duplicate the initial nix store
[github/fretlink/docker-nix.git] / debian / Dockerfile
index 90b2e65848c6f69f627a2efb1071884e7d3b439b..7e4eaea2fdcd5b1b27aa10570c1af0ff60bf037e 100644 (file)
@@ -40,9 +40,6 @@ RUN nix-env -iA nixpkgs.glibcLocales
 
 # < Nix context as a volume
 # We want to be able to define /nix/store as a volume
-# We thus need to "save" the current nix context to be able
-# to restore it at startup time
-RUN cp -R /nix /home/nixuser/initial-nix
 VOLUME ["/nix"]
 # Create bash profile
 COPY --chown=nixuser:nixuser files/.profile ${HOME}/.profile