mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 23:31:24 +01:00
assume nix is available
This commit is contained in:
parent
5e9c1f9ee3
commit
e31f4454bd
1 changed files with 20 additions and 22 deletions
|
|
@ -9,7 +9,6 @@ variables:
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- |
|
- |
|
||||||
if command -v nix > /dev/null; then
|
|
||||||
# Enable nix-command and flakes
|
# Enable nix-command and flakes
|
||||||
echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
|
echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
|
||||||
|
|
||||||
|
|
@ -35,7 +34,6 @@ before_script:
|
||||||
|
|
||||||
# Allow .envrc
|
# Allow .envrc
|
||||||
direnv allow
|
direnv allow
|
||||||
fi
|
|
||||||
|
|
||||||
# Set CARGO_HOME to a cacheable path
|
# Set CARGO_HOME to a cacheable path
|
||||||
export CARGO_HOME="$(git rev-parse --show-toplevel)/.gitlab-ci.d/cargo"
|
export CARGO_HOME="$(git rev-parse --show-toplevel)/.gitlab-ci.d/cargo"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue