diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0644c2fa2..535ba2fd6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,7 +16,8 @@ node dependencies: script: - nix build -o node-dependencies .#uniworxNodeDependencies before_script: - - nix-env -f '' -iA envsubst nixUnstable git + - install -m 0644 .gitlab-ci/nix-bootstrap.conf /etc/nix/nix.conf + - nix-env -f '' -iA envsubst nixUnstable git coreutils - envsubst -i .gitlab-ci/nix.conf -o /etc/nix/nix.conf - git config --global init.defaultBranch master - install -v -m 0700 -d ~/.ssh diff --git a/.gitlab-ci/nix-bootstrap.conf b/.gitlab-ci/nix-bootstrap.conf new file mode 100644 index 000000000..036c2fc5e --- /dev/null +++ b/.gitlab-ci/nix-bootstrap.conf @@ -0,0 +1,5 @@ +sandbox = true +experimental-features = nix-command flakes ca-references +substituters = https://hydra.iohk.io https://cache.nixos.org/ +trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= +require-sigs = true \ No newline at end of file