about summary refs log tree commit diff
path: root/pkgs/tools/misc
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2024-03-02 19:13:44 +0100
committerGitHub <noreply@github.com>2024-03-02 19:13:44 +0100
commitf5c6f98bdea86b23da3cace23262ed54eda78982 (patch)
treeade41c626e1b2570ac09b5c121adbb58d85de253 /pkgs/tools/misc
parent8ec33260b3574f51c94154119706e36e4d6c5ce6 (diff)
parent7d15e810d7600d9b7a1ad269174eb444482e1309 (diff)
downloadnixlib-f5c6f98bdea86b23da3cace23262ed54eda78982.tar
nixlib-f5c6f98bdea86b23da3cace23262ed54eda78982.tar.gz
nixlib-f5c6f98bdea86b23da3cace23262ed54eda78982.tar.bz2
nixlib-f5c6f98bdea86b23da3cace23262ed54eda78982.tar.lz
nixlib-f5c6f98bdea86b23da3cace23262ed54eda78982.tar.xz
nixlib-f5c6f98bdea86b23da3cace23262ed54eda78982.tar.zst
nixlib-f5c6f98bdea86b23da3cace23262ed54eda78982.zip
Merge pull request #292767 from wegank/7zz-unpack-cleanup
treewide: remove unpackCmd involving 7zz
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r--pkgs/tools/misc/archi/default.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/tools/misc/archi/default.nix b/pkgs/tools/misc/archi/default.nix
index e5850f8871e7..23c5372e5eef 100644
--- a/pkgs/tools/misc/archi/default.nix
+++ b/pkgs/tools/misc/archi/default.nix
@@ -42,9 +42,7 @@ stdenv.mkDerivation rec {
     autoPatchelfHook
   ];
 
-  unpackPhase = if stdenv.hostPlatform.isDarwin then ''
-    7zz x $src
-  '' else null;
+  sourceRoot = if stdenv.isDarwin then "." else null;
 
   installPhase =
     if stdenv.hostPlatform.system == "x86_64-linux" then