Created
March 20, 2020 19:21
-
-
Save LinArcX/dbdf9e6847f21c27e23d92cf2fb7120a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
pkgs = import <nixpkgs> {}; | |
in | |
pkgs.mkShell { | |
buildInputs = [ | |
pkgs.cmake | |
pkgs.clang | |
pkgs.clang-tools | |
pkgs.clang-analyzer | |
]; | |
shellHook = '' | |
export CMAKE=${pkgs.cmake}/bin/cmake | |
export CLANG=${pkgs.clang}/bin/clang | |
export CLANGD=${pkgs.clang.clangd}/bin/clangd | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment