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 01eaad3..00dc6ca 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ debug-me:
$(BUILDER) build $(BUILDEROPTIONS); \
fi
if [ "$(BUILDER)" = stack ]; then \
- ln -sf $$(find .stack-work/ -name debug-me -type f | grep build/debug-me/debug-me | tail -n 1) debug-me; \
+ ln -sf $$(stack path --dist-dir)/build/debug-me/debug-me debug-me; \
else \
ln -sf dist/build/debug-me/debug-me debug-me; \
fi