build(nix): c_formatter_42 with the correction given

- The flake wasn't made for macos (arm), so I made a pull requests to
patch that and was merged thanks to @maix0 for it's reactivity
This commit is contained in:
Raphael 2025-09-05 17:35:51 +02:00
parent a3accb9d0a
commit 4e15449d12
No known key found for this signature in database

View file

@ -3,9 +3,9 @@
inputs = { inputs = {
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
c_formatter_42.url = "github:maix0/c_formatter_42-flake"; c_formatter_42.url = "github:maix-flake/c_formatter_42";
}; };
outputs = { self, nixpkgs, flake-utils, c_formatter_42, }: outputs = { self, nixpkgs, flake-utils, c_formatter_42 }:
flake-utils.lib.eachDefaultSystem (system: flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system}; let pkgs = nixpkgs.legacyPackages.${system};
in { in {
@ -16,7 +16,6 @@
pkgs.clang-tools pkgs.clang-tools
pkgs.fastmod pkgs.fastmod
pkgs.norminette pkgs.norminette
pkgs.valgrind
pkgs.tree pkgs.tree
] ++ (if pkgs.stdenv.isLinux then [ pkgs.valgrind ] else [ ]); ] ++ (if pkgs.stdenv.isLinux then [ pkgs.valgrind ] else [ ]);
}; };