gitlab-ci: try setting NIX_PATH explicitly

This commit is contained in:
Luke Granger-Brown 2022-04-05 22:09:21 +01:00
parent 97a2e46eeb
commit 98cd1c7427

View file

@ -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);