Unverified Commit 76fe013a authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

treewide: use dpkg setup hook (#359417)

parents 12dbe9fb e51a9df0
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -15,11 +15,6 @@ stdenv.mkDerivation rec {

  nativeBuildInputs = [ dpkg makeWrapper wrapGAppsHook3 ];

  unpackCmd = ''
    mkdir -p root
    dpkg-deb -x $curSrc root
  '';

  dontBuild = true;
  dontWrapGApps = true; # we only want $gappsWrapperArgs here

+0 −5
Original line number Diff line number Diff line
@@ -33,11 +33,6 @@ stdenv.mkDerivation rec {

  nativeBuildInputs = [ dpkg makeWrapper wrapGAppsHook3 ];

  unpackCmd = ''
    mkdir -p root
    dpkg-deb -x $curSrc root
  '';

  dontBuild = true;
  dontWrapGApps = true; # we only want $gappsWrapperArgs here

+1 −5
Original line number Diff line number Diff line
@@ -32,17 +32,13 @@ stdenv.mkDerivation rec {
  version = "5.2.5";

  src = fetchurl {
    name = "bitwig-studio-${version}.deb";
    url = "https://www.bitwig.com/dl/Bitwig%20Studio/${version}/installer_linux/";
    hash = "sha256-x6Uw6o+a3nArMm1Ev5ytGtLDGQ3r872WqlC022zT8Hk=";
  };

  nativeBuildInputs = [ dpkg makeWrapper wrapGAppsHook3 ];

  unpackCmd = ''
    mkdir -p root
    dpkg-deb -x $curSrc root
  '';

  dontBuild = true;
  dontWrapGApps = true; # we only want $gappsWrapperArgs here

+0 −2
Original line number Diff line number Diff line
@@ -33,8 +33,6 @@ stdenv.mkDerivation rec {

  nativeBuildInputs = [ makeWrapper dpkg desktop-file-utils asar ];

  unpackPhase = "dpkg-deb --fsys-tarfile $src | tar -x --no-same-permissions --no-same-owner";

  installPhase = let
    libPath = lib.makeLibraryPath [
      libsecret
+2 −7
Original line number Diff line number Diff line
@@ -18,15 +18,10 @@ in mkDerivation {
    sha256 = "10027a3ab18efd04ca75aa699ff550eca3bdfe6f7084460d3c00001bffb50070";
  };

  unpackPhase = ''
    dpkg -x $src oda_unpacked
    sourceRoot=$PWD/oda_unpacked
  '';

  installPhase = ''
    mkdir -p $out/bin $out/lib
    cp -vr $sourceRoot/usr/bin/ODAFileConverter_${version} $out/libexec
    cp -vr $sourceRoot/usr/share $out/share
    cp -vr usr/bin/ODAFileConverter_${version} $out/libexec
    cp -vr usr/share $out/share
  '';

  dontWrapQtApps = true;
Loading