enable flakes with command line arguments
This commit is contained in:
parent
8f0d6c9010
commit
01c18f1511
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user