mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
zed-editor: strip application binary
This commit is contained in:
@@ -288,6 +288,16 @@ rustPlatform.buildRustPackage rec {
|
||||
versionCheckProgramArg = [ "--version" ];
|
||||
doInstallCheck = true;
|
||||
|
||||
# The darwin Applications directory is not stripped by default, see
|
||||
# https://github.com/NixOS/nixpkgs/issues/367169
|
||||
# This setting is not platform-guarded as it doesn't do any harm on Linux,
|
||||
# where this directory simply does not exist.
|
||||
stripDebugList = [
|
||||
"bin"
|
||||
"libexec"
|
||||
"Applications"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = gitUpdater {
|
||||
rev-prefix = "v";
|
||||
|
||||
Reference in New Issue
Block a user