holey-toys/shell.nix

10 lines
141 B
Nix
Raw Permalink Normal View History

{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell rec {
buildInputs = with pkgs; [
clang
];
shellHook = ''
export CC=clang
'';
}