Add coreutils to macos to have proper gnuutils

This commit is contained in:
2025-06-24 10:57:48 +02:00
parent 2986a673e3
commit a60e185e65
2 changed files with 8 additions and 2 deletions
+5 -2
View File
@@ -123,13 +123,16 @@ in
] ]
++ nixpkgs.lib.optionals darwin [ ++ nixpkgs.lib.optionals darwin [
inputs.nix-index-database.darwinModules.nix-index inputs.nix-index-database.darwinModules.nix-index
{ ({pkgs, ...}: {
environment.systemPackages = with pkgs; [
coreutils
];
# auth sudo via fingerprint # auth sudo via fingerprint
security.pam.services.sudo_local = { security.pam.services.sudo_local = {
reattach = true; reattach = true;
touchIdAuth = true; touchIdAuth = true;
}; };
} })
] ]
++ custom; ++ custom;
} }
+3
View File
@@ -35,6 +35,9 @@ return {
}, },
csharpier = function() csharpier = function()
return { return {
command = "csharpier",
args = { "format" },
stdin = true,
--- @diagnostic disable: param-type-mismatch --- @diagnostic disable: param-type-mismatch
cwd = require("conform.util").root_file(function(name) cwd = require("conform.util").root_file(function(name)
return name:match('.*%.sln$') or name:match('.*%.csproj$') return name:match('.*%.sln$') or name:match('.*%.csproj$')