From 8037cc3ee59c4eb8944b6033421dfa577745a8d9 Mon Sep 17 00:00:00 2001 From: devins2518 Date: Sun, 5 Jun 2022 12:39:08 -0500 Subject: [PATCH] clang works fine --- Development-with-nix.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Development-with-nix.md b/Development-with-nix.md index fc38f9a..8ee01b2 100644 --- a/Development-with-nix.md +++ b/Development-with-nix.md @@ -72,7 +72,7 @@ If using macOS, you may need to include the following to properly use nix's clan ```nix shellHook = with pkgs.llvmPackages_13; '' - export CPATH="${libcxx.dev}" # Use libcxx's stdlib + export CPATH="${clang}" # Use libcxx's stdlib export LDFLAGS="-stdlib=libc++ -lc++abi" # Link against the stdlib ''; ``` \ No newline at end of file