From 98cd1c7427b441806c6eef444898d5f4c5b4bcf2 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Tue, 5 Apr 2022 22:09:21 +0100 Subject: [PATCH] gitlab-ci: try setting NIX_PATH explicitly --- nix/gitlab-ci/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nix/gitlab-ci/default.nix b/nix/gitlab-ci/default.nix index 138410b95a..2ef8138a40 100644 --- a/nix/gitlab-ci/default.nix +++ b/nix/gitlab-ci/default.nix @@ -44,7 +44,11 @@ let tags = [ "cacher" ]; only.refs = [ "branch/default" ]; - script = ''cd web/lukegbcom && ./deploy.sh''; + script = '' + export NIX_PATH=nixpkgs=$(readlink -f third_party/nixpkgs) + cd web/lukegbcom + ./deploy.sh + ''; }; }; # // (lib.mapAttrs deployStage deployMachs);