Skip to content

Commit 4554f1e

Browse files
committed
Resolve NODE_ENV key using system at image-build time, fixing shellcheck @claude
1 parent c49acf6 commit 4554f1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

liximage.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ rec {
4949
5050
# Resolve the correct store path for this architecture from the JSON NODE_ENV
5151
STORE_PATH=$(nix eval --store dummy:// --raw --impure --expr \
52-
'(builtins.fromJSON (builtins.getEnv "NODE_ENV")).''${builtins.currentSystem}')
52+
'(builtins.fromJSON (builtins.getEnv "NODE_ENV")).${system}')
5353
5454
# Check if we can SSH to nix-cache
5555
EXTRA_SUBSTITUTERS="local?trusted=true"

0 commit comments

Comments
 (0)