try environment variable
This commit is contained in:
parent
ee62a517c7
commit
ab29af5467
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
FROM nixos/nix:2.25.3
|
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
|
# enable nix-command and flakes
|
||||||
RUN echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
|
RUN echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue