Created
March 20, 2020 16:57
-
-
Save LinArcX/836013e6540324949a2200bb10df023b to your computer and use it in GitHub Desktop.
This file contains hidden or 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-analyzer | |
| ]; | |
| shellHook = '' | |
| export CMAKE=${pkgs.cmake}/bin/cmake | |
| export CLANG=${pkgs.clang}/bin/clang | |
| export CLANGXX=${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