Remove NIX_PATH that points to image’s nixpkgs
All checks were successful
continuous-integration/drone/push Build is passing

Users are encouraged to pin their nixpkgs and avoid <nixpkgs>. This
enforces this by removing nixpkgs from the search path.
This commit is contained in:
Simon Bruder 2020-10-10 20:53:20 +02:00
parent d41d680121
commit 65d44e54b8
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -14,6 +14,5 @@ RUN wget -O- https://github.com/drone-runners/drone-runner-exec/releases/downloa
COPY entrypoint.sh / COPY entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
ENV DRONE_RUNNER_ENVIRON=NIX_PATH:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixpkgs
EXPOSE 3000 EXPOSE 3000