From 152503341f87ce765410095bdf9f23316cd3442a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=E2=80=9CNiols=E2=80=9D=20Jeannerod?= Date: Tue, 24 Sep 2024 13:29:30 +0200 Subject: [PATCH] Nix flakes --- .forgejo/workflows/test.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml index 7be84d9..1b507db 100644 --- a/.forgejo/workflows/test.yaml +++ b/.forgejo/workflows/test.yaml @@ -3,12 +3,16 @@ jobs: test: runs-on: nix.2.18.7 steps: + - run: | + cat <> /etc/nix/nix.conf + experimental-features = nix-command flakes + EOF - run: cat /etc/nix/nix.conf || true - - run: cat /etc/xdg/nix/nix.conf || true - - run: cat ~/.config/nix/nix.conf || true - - run: nix-channel --update - - run: nix-env -i nodejs + - run: nix profile install nodejs + + # - run: nix-channel --update + # - run: nix-env -i nodejs - uses: actions/checkout@v4