chore(gitlab-ci): fix syntax contd
This commit is contained in:
parent
14f32497bb
commit
0861ea0778
@ -92,7 +92,7 @@ backend dependencies:
|
|||||||
- .stack
|
- .stack
|
||||||
- .stack-work
|
- .stack-work
|
||||||
script:
|
script:
|
||||||
- "nix shell .#gnumake .#stack .#coreutils --command sh -c 'prepare-env && make backend-dependencies'" # TODO maybe remove prepare-env
|
- "nix shell .#gnumake .#stack .#coreutils .#prepareEnv --command sh -c 'prepare-env && make backend-dependencies'" # TODO maybe remove prepare-env
|
||||||
- "ls -a ." # TODO: debug only
|
- "ls -a ." # TODO: debug only
|
||||||
- "ls -a ${HOME}/.stack"
|
- "ls -a ${HOME}/.stack"
|
||||||
before_script: *nix-before
|
before_script: *nix-before
|
||||||
|
|||||||
@ -264,7 +264,7 @@ let
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
prepareEnv = pkgs.writeScriptBin "prepare-env" ''
|
prepareEnv = pkgs.writeScriptBin "prepare-env" ''
|
||||||
#!${pkgs.zsh}/bin/zsh
|
#!/bin/sh
|
||||||
|
|
||||||
export TZDIR=${pkgs.tzdata}/share/zoneinfo
|
export TZDIR=${pkgs.tzdata}/share/zoneinfo
|
||||||
export CHROME_BIN=${pkgs.chromium}/bin/chromium
|
export CHROME_BIN=${pkgs.chromium}/bin/chromium
|
||||||
|
|||||||
Reference in New Issue
Block a user