Skip to content

Commit 432c75f

Browse files
fix: add abs path to env sh nim pkg
1 parent 4ba68b7 commit 432c75f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nix/shell.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ in mkShell {
2525

2626
shellHook = lib.optionalString (!isMacM1) ''
2727
echo "Patching env.sh to use Nix Nim..."
28-
env_sh="vendor/github.com/waku-org/sds-go-bindings/third_party/nim-sds/vendor/nimbus-build-system/scripts/env.sh"
28+
env_sh="/go/src/github.com/status-im/status-go/vendor/github.com/waku-org/sds-go-bindings/third_party/nim-sds/vendor/nimbus-build-system/scripts/env.sh"
2929
if [ -f "$env_sh" ]; then
30+
echo "Replacing nim by ${pkgs.nim}/bin/nim"
3031
${pkgs.gnused}/bin/substituteInPlace "$env_sh" \
3132
--replace-warn "/vendor/Nim/bin/nim" "${pkgs.nim}/bin/nim"
3233
fi

0 commit comments

Comments
 (0)