From 6e52e875aa2b10467b2976d688954b899930ccc4 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sun, 7 Dec 2025 20:58:49 +0100 Subject: [PATCH] Added ENV to Dockerfile --- Dockerfile | 2 ++ Makefile | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a51b471..86f4b40 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,8 @@ RUN pacman -Syu --noconfirm \ rsync \ && pacman -Scc --noconfirm +ENV NIX_CONFIG="experimental-features = nix-command flakes" + # 2) Unprivileged user for building Arch packages RUN useradd -m builder WORKDIR /build diff --git a/Makefile b/Makefile index 5befb7d..1ea6625 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,6 @@ test: build package-manager-test \ -c 'git config --global --add safe.directory /src && nix develop .#default --no-write-lock-file -c python3 -m unittest discover -s tests -p "test_*.py"' - install: @if [ -n "$$IN_NIX_SHELL" ]; then \ echo "Nix shell detected (IN_NIX_SHELL=1). Skipping venv/pip install – handled by Nix flake."; \