From 01c18f151185b1edc04fff72fa22c874d3300568 Mon Sep 17 00:00:00 2001 From: Kristian Krsnik Date: Thu, 17 Aug 2023 18:09:27 +0200 Subject: [PATCH] enable flakes with command line arguments --- .gitlab-ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5eb3ccd..001849e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,11 +1,8 @@ image: nixos/nix pages: script: - # enable flakes - - mkdir -p ~/.config/nix - - echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf # the final contents for your page always have to be stored in the public folder - - nix build + - nix build --experimental-features 'nix-command flakes' - cp -r result/. public/ artifacts: # artifact to make it visible for gitlab pages