ive harnessed the harness
1{
2 inputs.parts.url = "github:hercules-ci/flake-parts";
3 inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
4 inputs.nci.url = "github:90-008/nix-cargo-integration";
5
6 outputs =
7 inp:
8 inp.parts.lib.mkFlake { inputs = inp; } {
9 systems = [ "x86_64-linux" ];
10 imports = [inp.nci.flakeModule];
11 perSystem =
12 {
13 pkgs,
14 config,
15 ...
16 }:
17 {
18 nci.projects."klbr".path = ./.;
19 packages.default = pkgs.callPackage ./default.nix {};
20 devShells.default = config.nci.outputs."klbr".devShell.overrideAttrs (old: {
21 packages = (old.packages or []) ++ (with pkgs; [
22 cargo-outdated
23 clang
24 wild
25 ]);
26 });
27 };
28 };
29}