From 9514175efc361241d3593caa7d51732c60e55910 Mon Sep 17 00:00:00 2001 From: Sage Hane Date: Mon, 4 Oct 2021 10:31:06 +0000 Subject: [PATCH] Updated the shell.nix file to use LLVM 13. Also changed the file to use `with llvmPackages_13` as it should make it easier to bump versions. --- Development-with-nix.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Development-with-nix.md b/Development-with-nix.md index 4f12185..dc14df9 100644 --- a/Development-with-nix.md +++ b/Development-with-nix.md @@ -7,13 +7,14 @@ pkgs.mkShell { buildInputs = with pkgs; [ cmake gdb - clang_12 - llvmPackages_12.clang-unwrapped - llvm_12 - lld_12 ninja qemu - ]; + ] ++ (with llvmPackages_13; [ + clang + clang-unwrapped + lld + llvm + ]); } ``` The `hardeningDisable` part is crucial otherwise you will get compile errors. \ No newline at end of file