about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/no/nosql-workbench/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/by-name/no/nosql-workbench/package.nix')
-rw-r--r--nixpkgs/pkgs/by-name/no/nosql-workbench/package.nix12
1 files changed, 2 insertions, 10 deletions
diff --git a/nixpkgs/pkgs/by-name/no/nosql-workbench/package.nix b/nixpkgs/pkgs/by-name/no/nosql-workbench/package.nix
index 9fb744fa6570..1b96328b211b 100644
--- a/nixpkgs/pkgs/by-name/no/nosql-workbench/package.nix
+++ b/nixpkgs/pkgs/by-name/no/nosql-workbench/package.nix
@@ -39,20 +39,12 @@ if stdenv.isDarwin then stdenv.mkDerivation {
 
   sourceRoot = ".";
 
-  nativeBuildInputs = [ _7zz ];
-
-  buildInputs = [ jdk21 ];
-
   # DMG file is using APFS which is unsupported by "undmg".
   # Instead, use "7zz" to extract the contents.
   # "undmg" issue: https://github.com/matthewbauer/undmg/issues/4
-  unpackCmd = ''
-    runHook preUnpack
-
-    7zz x $curSrc
+  nativeBuildInputs = [ _7zz ];
 
-    runHook postUnpack
-  '';
+  buildInputs = [ jdk21 ];
 
   installPhase = ''
     runHook preInstall