From c5c8acfaa6bc44ab5249186a431473b043ba6b04 Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Sat, 20 Mar 2021 22:29:51 +0100 Subject: [PATCH] Fix nix-shell syntax --- .gitlab-ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5778017..1f8c45c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,11 +3,10 @@ variables: build: script: - - nix-shell -p rustc cargo " - rustc -vV - cargo -vV - cargo build" + - nix-shell -p rustc cargo --cmd "sh -c ' + rustc -vV && + cargo -vV && + cargo build'" test: script: - - nix-shell -p cargo " - cargo test" + - nix-shell -p cargo --cmd 'cargo test'