treewide: cmake buildInputs to nativeBuildInputs, minor cleanups

This commit is contained in:
Ben Siraphob
2021-01-01 11:52:33 +07:00
parent 54ab07c1fe
commit b04fc593e7
212 changed files with 611 additions and 634 deletions
@@ -6,12 +6,8 @@ stdenv.mkDerivation {
inherit src meta;
buildInputs = [
cmake
glibc.static
flex
bison
];
nativeBuildInputs = [ cmake flex bison ];
buildInputs = [ glibc.static ];
patchPhase = ''
# Since we're not in a git dir, the normal command this project uses to create this file wouldn't work