File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- FROM nixos /nix:latest@sha256:8c144c6c37184fe03fd7fed740c6eeb2ecfd801d6e34a6aba4e38f1c8d10de3e
1
+ FROM nixpkgs /nix:latest
2
2
3
3
ARG DEVENV_VERSION=latest
4
4
5
5
# https://github.com/NixOS/nix/issues/5258
6
- RUN echo "filter-syscalls = false" >> /etc/nix/nix.conf
6
+ RUN mkdir /etc/nix && echo "filter-syscalls = false" >> /etc/nix/nix.conf
7
7
8
- RUN nix profile install -j1 github:cachix/devenv/$DEVENV_VERSION --extra-experimental-features 'flakes nix-command' --accept-flake-config && nix-collect-garbage -d
8
+ RUN nix profile install -j1 github:cachix/devenv/$DEVENV_VERSION nixpkgs#gnugrep --extra-experimental-features 'flakes nix-command' --accept-flake-config && nix-collect-garbage -d && rm -rf /root/.cache
You can’t perform that action at this time.
0 commit comments