33 lines
742 B
Nix
33 lines
742 B
Nix
{
|
|
description = "cargoxx";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in {
|
|
devShell = pkgs.gcc15Stdenv.mkDerivation {
|
|
name = "shell";
|
|
version = "1.0";
|
|
nativeBuildInputs = [
|
|
pkgs.ninja
|
|
pkgs.cmake
|
|
pkgs.pkg-config
|
|
];
|
|
buildInputs = [
|
|
pkgs.reproc
|
|
pkgs.sqlite
|
|
pkgs.catch2_3
|
|
];
|
|
hardeningDisable = [
|
|
"all"
|
|
];
|
|
};
|
|
});
|
|
}
|