Skip to content
Snippets Groups Projects
Commit 81a0fdb8 authored by Benoit Donneaux's avatar Benoit Donneaux
Browse files

Avoid silent failure in export

parent 7ba2040d
Branches
Tags
1 merge request!392Make CD great again
Pipeline #4567 passed
......@@ -79,7 +79,11 @@ ssh -o StrictHostKeyChecking=no "$(hostname).$(domainname)" ":"
#
# So instead, import our nixpkgs which forces it to be instantiated in the
# store, then ask for its path, then set NIX_PATH to that.
export NIX_PATH="nixpkgs=$(nix eval "(import ${CHECKOUT}/nixpkgs.nix { }).path")"
# Two lines since 'export' masks 'set -e'
# See https://mywiki.wooledge.org/BashFAQ/105#line-204
NIX_PATH="nixpkgs=$(nix eval "(import ${CHECKOUT}/nixpkgs.nix { }).path")"
export NIX_PATH
# Attempt to update just this host. Choose the morph grid definition matching
# the grid we belong to and limit the morph deployment update to the host
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment