Nix boilerplate

This commit is contained in:
Alwin Berger 2021-12-22 23:02:24 +01:00
parent 44f28df247
commit ed0c840bd7
3 changed files with 21 additions and 0 deletions

1
.envrc Normal file
View File

@ -0,0 +1 @@
use_nix shell.nix

3
.gitignore vendored
View File

@ -15,3 +15,6 @@ GTAGS
*.depend_raw
*.swp
*.patch
.ccls*
.direnv
.vscode

17
shell.nix Normal file
View File

@ -0,0 +1,17 @@
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
stdenv.mkDerivation {
name = "tccboot-1";
hardeningDisable = [ "all" ];
src = ./.;
buildInputs = [
glib
python3
pkg-config
ninja
meson
pixman
gcc-arm-embedded
];
}