[M6] Phase 2 self-hosting: cargoxx builds itself from Cargoxx.toml
This commit is contained in:
17
flake.nix
17
flake.nix
@@ -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"
|
||||
];
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user