10 lines
141 B
Nix
10 lines
141 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
pkgs.mkShell rec {
|
|
buildInputs = with pkgs; [
|
|
clang
|
|
];
|
|
shellHook = ''
|
|
export CC=clang
|
|
'';
|
|
}
|