some lil things

This commit is contained in:
Mars 2024-08-03 01:29:36 +00:00
parent b189049ab4
commit 4c993f6dd8
3 changed files with 447 additions and 7 deletions

View file

@ -2,6 +2,7 @@
description = "C/C++ environment";
inputs = {
nixvim.url = "github:pupbrained/nvim-config";
nixpkgs.url = "github:NixOS/nixpkgs";
treefmt-nix.url = "github:numtide/treefmt-nix";
utils.url = "github:numtide/flake-utils";
@ -12,6 +13,7 @@
nixpkgs,
treefmt-nix,
utils,
nixvim,
...
}:
utils.lib.eachDefaultSystem (
@ -134,6 +136,7 @@
ninja
pkg-config
unzip
nixvim.packages.${system}.default
(writeScriptBin "build" "meson compile -C build")
(writeScriptBin "clean" "meson setup build --wipe")