diff --git a/Dockerfile b/Dockerfile index 57ae312..4e35d32 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,9 @@ FROM docker.io/nixos/nix:2.32.8 LABEL org.opencontainers.image.source="https://git.methanium.net/alois/nixos-docker-container" -RUN nix --extra-experimental-features "nix-command flakes" profile add \ +ENV NIX_CONFIG="experimental-features = nix-command flakes" + +RUN nix profile add \ nixpkgs#bun \ nixpkgs#gnused \ nixpkgs#jdk21 \