mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 03:10:19 +00:00
linear: use _7zz unpack hook
The _7zz unpack hook now passes -sns- -snld by default.
This commit is contained in:
@@ -21,11 +21,6 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
|
||||
sourceRoot = "Linear";
|
||||
|
||||
# -snld prevents "ERROR: Dangerous symbolic link path was ignored".
|
||||
# -xr'!*:com.apple.*' prevents macOS extended attributes from being
|
||||
# extracted as regular files, which corrupts the .app bundle.
|
||||
unpackCmd = "7zz x -snld -xr'!*:com.apple.*' $curSrc";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
|
||||
Reference in New Issue
Block a user