try environment variable

This commit is contained in:
Osman Faruk Bayram 2024-12-07 21:28:39 +03:00
parent ee62a517c7
commit ab29af5467

View file

@ -1,4 +1,5 @@
FROM nixos/nix:2.25.3
RUN echo "nixpkgs.config.allowUnfree = true" >> /etc/nix/nix.conf
ENV NIXPKGS_ALLOW_UNFREE=1
# enable nix-command and flakes
RUN echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf