From 931bf72447dfe0fa87e9dcd71c49e902298a28a6 Mon Sep 17 00:00:00 2001 From: Elias Almqvist Date: Wed, 7 Aug 2024 23:02:50 -0700 Subject: [PATCH] yuck --- nix-darwin/home.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nix-darwin/home.nix b/nix-darwin/home.nix index b9078b7..8ee96c8 100644 --- a/nix-darwin/home.nix +++ b/nix-darwin/home.nix @@ -239,6 +239,12 @@ # GHCup export PATH="$PATH:$HOME/.ghcup/bin" + # Super hacky and fucking stupid way of doing things - stuff + export PATH="$HOME/.local/hack/bin:$PATH" + export LDFLAGS="-L$HOME/.local/hack/lib $LDFLAGS" + export CPPFLAGS="-I$HOME/.local/hack/include $CPPFLAGS" + export DYLD_LIBRARY_PATH="$HOME/.local/hack/lib:$DYLD_LIBRARY_PATH" + # Nix if [ -e /etc/profile.d/nix.sh ]; then . /etc/profile.d/nix.sh; fi