summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 58def76..8ac9a1f 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ keysafe:
$(BUILDER) build $(BUILDEROPTIONS); \
fi
if [ "$(BUILDER)" = stack ]; then \
- ln -sf $$(find .stack-work/ -name keysafe -type f | grep build/keysafe/keysafe | tail -n 1) keysafe; \
+ ln -sf $$(stack path --dist-dir)/build/keysafe/keysafe keysafe; \
else \
ln -sf dist/build/keysafe/keysafe keysafe; \
fi