Skip to content

Commit

Permalink
Fix Nix Flakes being bad in Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondburned committed Feb 13, 2024
1 parent dff311e commit f2a3857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ COPY flake.nix flake.lock shell.nix ./
ENV NIX_PATH="nixpkgs=channel:nixos-unstable"

# Prepare docker-env.
RUN nix profile install '.#dockerEnv'
RUN nix profile install --extra-experimental-features nix-command\ flakes '.#dockerEnv'

# Initialize shell environment variables.
RUN /root/.nix-profile/bin/docker-env init
Expand Down

0 comments on commit f2a3857

Please sign in to comment.