Remove NIX_PATH that points to image’s nixpkgs
continuous-integration/drone/push Build is passing Details

Users are encouraged to pin their nixpkgs and avoid <nixpkgs>. This
enforces this by removing nixpkgs from the search path.
master
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
1 changed files with 0 additions and 1 deletions

View File

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