pkgs/os-specific/darwin/impure-cmds/default.nix
deleted100644 → 0
+0
−38
Loading
Admins will be upgrading ORNL GitLab Servers on Saturday, 16 May 2026, from 7 AM until 11 AM EST. Repositories will experience intermittent outages during this time.
These were added in <https://github.com/NixOS/nixpkgs/pull/109626> in 2021, and used to provide the definition of `sudo`. That was reverted shortly after, in <https://github.com/NixOS/nixpkgs/pull/112006>. While embedding these paths in the output of a derivation is potentially legitimate, using them as build inputs to other derivations is not so much; they won’t work in the sandbox, and using `sudo(8)` in a build especially doesn’t seem like a great idea. Using `/usr/bin/ditto` directly along with `sandboxProfile` or `__impureHostDeps` is a better mechanism than a wrapper package if a build really needs `ditto(1)`.