nix: add support to build with GCC
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
20
nix/shell.nix
Normal file
20
nix/shell.nix
Normal file
@@ -0,0 +1,20 @@
|
||||
{ stdenv
|
||||
, mkShell
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, libraries ? [ ]
|
||||
, tools ? [ ]
|
||||
}:
|
||||
|
||||
mkShell.override { inherit stdenv; } {
|
||||
name = "matar";
|
||||
|
||||
packages = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
] ++ libraries ++ tools;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
}
|
Reference in New Issue
Block a user