{ description = "Flake for Clice"; inputs = { nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils, }: flake-utils.lib.eachDefaultSystem ( system: let pkgs = nixpkgs.legacyPackages.${system}; tomlplusplus = pkgs.tomlplusplus.overrideAttrs ( oldAttrs: { mesonFlags = oldAttrs.mesonFlags or [] ++ [ "-Dbuild_examples=false" "-Dbuild_tests=false" "-Dcompile_library=false" ]; postInstall = oldAttrs.postInstall or "" + '' cat > "$out/share/pkgconfig/toml++.pc" <