From ab29af5467cfa48c1059212be24553d54c7bb4d4 Mon Sep 17 00:00:00 2001 From: osbm Date: Sat, 7 Dec 2024 21:28:39 +0300 Subject: [PATCH] try environment variable --- nix/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/Dockerfile b/nix/Dockerfile index 935f0d7..615178a 100644 --- a/nix/Dockerfile +++ b/nix/Dockerfile @@ -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