From 528b4755bce5195a8e6885c48338f5047e664b24 Mon Sep 17 00:00:00 2001 From: Elias Almqvist Date: Thu, 8 Aug 2024 10:19:36 -0700 Subject: [PATCH] cringe --- nix-darwin/home.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/nix-darwin/home.nix b/nix-darwin/home.nix index e884a77..122a991 100644 --- a/nix-darwin/home.nix +++ b/nix-darwin/home.nix @@ -87,7 +87,10 @@ sshfs libqalculate imagemagick + + # compiler stuff llvm + libllvm # Simulators # ngspice @@ -241,10 +244,10 @@ export PATH="$PATH:$HOME/.ghcup/bin" # Super hacky and fucking stupid way of doing things - stuff - # export PATH="/usr/local/llvm/bin:$PATH" - # export LDFLAGS="-L/usr/local/llvm/lib $LDFLAGS" - # export CPPFLAGS="-I/usr/local/llvm/include $CPPFLAGS" - # export DYLD_LIBRARY_PATH="/usr/local/llvm/lib:$DYLD_LIBRARY_PATH" + export PATH="/opt/homebrew/opt/llvm/bin:$PATH" + export LDFLAGS="-L/opt/homebrew/opt/llvm/lib $LDFLAGS" + export CPPFLAGS="-I/opt/homebrew/opt/llvm/include $CPPFLAGS" + export DYLD_LIBRARY_PATH="/opt/homebrew/opt/llvm/lib:$DYLD_LIBRARY_PATH" # Nix if [ -e /etc/profile.d/nix.sh ]; then . /etc/profile.d/nix.sh; fi