mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 02:00:13 +01:00
chore: set experimental features and auto-allow flake config
This commit is contained in:
parent
bd8fe38c46
commit
c6abbde797
1 changed files with 3 additions and 0 deletions
|
|
@ -4,4 +4,7 @@ FROM nixos/nix:$NIX_TAG
|
|||
|
||||
COPY entrypoint.sh /usr/local/bin/
|
||||
|
||||
RUN mkdir -p ~/.config/nix && \
|
||||
echo "experimental-features = nix-command flakes\naccept-flake-config = true" > ~/.config/nix/nix.conf
|
||||
|
||||
ENTRYPOINT ["/bin/sh", "/usr/local/bin/entrypoint.sh"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue