Switched from phases to buildCommand, and moved makeWrapper to nativeBuildInputs as reccomended.

This commit is contained in:
John Ramsden 2017-06-27 16:19:49 -07:00
parent 580f7b47a3
commit 69ecd62a95
No known key found for this signature in database
GPG Key ID: 2E989DFAD8B09FD0

View File

@ -42,7 +42,6 @@ stdenv.mkDerivation rec {
else
throw "NylasMail is not supported on ${stdenv.system}";
# Build dependencies
propagatedBuildInputs = [
alsaLib
atk
@ -82,12 +81,12 @@ stdenv.mkDerivation rec {
xorg.libxkbfile
];
# Runtime dependencies
buildInputs = [ makeWrapper gnome2.gnome_keyring ];
phases = [ "unpackPhase" ];
buildInputs = [ gnome2.gnome_keyring ];
unpackPhase = ''
nativeBuildInputs = [ makeWrapper ];
buildCommand = ''
mkdir -p $out
${dpkg}/bin/dpkg-deb -x $src unpacked