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:
parent
a3accb9d0a
commit
4e15449d12
1 changed files with 2 additions and 3 deletions
|
|
@ -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 [ ]);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue