darwin.stubs.*: drop
These are no longer used, and it doesn’t seem worth keeping inert stubs for deprecated commands around.
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
writeScriptBin,
|
||||
runtimeShell,
|
||||
}:
|
||||
|
||||
let
|
||||
fake =
|
||||
name:
|
||||
lib.overrideDerivation
|
||||
(writeScriptBin name ''
|
||||
#!${runtimeShell}
|
||||
echo >&2 "Faking call to ${name} with arguments:"
|
||||
echo >&2 "$@"
|
||||
'')
|
||||
(drv: {
|
||||
name = "${name}-stub";
|
||||
});
|
||||
in
|
||||
|
||||
{
|
||||
setfile = fake "SetFile";
|
||||
rez = fake "Rez";
|
||||
derez = fake "DeRez";
|
||||
}
|
||||
@@ -90,4 +90,8 @@ mapAliases ({
|
||||
|
||||
### P ###
|
||||
postLinkSignHook = throw "'darwin.postLinkSignHook' has been removed because it is obsolete"; # added 2025-02-23
|
||||
|
||||
### S ###
|
||||
|
||||
stubs = throw "'darwin.stubs.*' have been removed as they were unused"; # added 2025-04-20
|
||||
})
|
||||
|
||||
@@ -204,8 +204,6 @@ makeScopeWithSplicing' {
|
||||
|
||||
openwith = callPackage ../os-specific/darwin/openwith { };
|
||||
|
||||
stubs = pkgs.callPackages ../os-specific/darwin/stubs { };
|
||||
|
||||
trash = callPackage ../os-specific/darwin/trash { };
|
||||
|
||||
inherit (self.file_cmds) xattr;
|
||||
|
||||
Reference in New Issue
Block a user