[M6] Phase 2 self-hosting: cargoxx builds itself from Cargoxx.toml

This commit is contained in:
2026-05-15 13:14:28 +00:00
parent 73aebf183e
commit c46f3aa1f0
7 changed files with 394 additions and 152 deletions

View File

@@ -1,5 +1,5 @@
{
description = "cargoxx Cargo-style frontend for modern C++";
description = "cargoxx";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
@@ -11,21 +11,22 @@
let
pkgs = import nixpkgs { inherit system; };
in {
devShells.default = pkgs.gcc15Stdenv.mkDerivation {
name = "cargoxx-dev";
version = "0.1.0";
devShell = pkgs.gcc15Stdenv.mkDerivation {
name = "shell";
version = "1.0";
nativeBuildInputs = [
pkgs.cmake
pkgs.ninja
pkgs.git
pkgs.cmake
pkgs.pkg-config
];
buildInputs = [
pkgs.sqlite
pkgs.reproc
pkgs.sqlite
pkgs.catch2_3
];
hardeningDisable = [ "all" ];
hardeningDisable = [
"all"
];
};
});
}