Switched from phases to buildCommand, and moved makeWrapper to nativeBuildInputs as reccomended.
This commit is contained in:
parent
580f7b47a3
commit
69ecd62a95
@ -42,7 +42,6 @@ stdenv.mkDerivation rec {
|
|||||||
else
|
else
|
||||||
throw "NylasMail is not supported on ${stdenv.system}";
|
throw "NylasMail is not supported on ${stdenv.system}";
|
||||||
|
|
||||||
# Build dependencies
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
alsaLib
|
alsaLib
|
||||||
atk
|
atk
|
||||||
@ -82,12 +81,12 @@ stdenv.mkDerivation rec {
|
|||||||
xorg.libxkbfile
|
xorg.libxkbfile
|
||||||
];
|
];
|
||||||
|
|
||||||
# Runtime dependencies
|
|
||||||
buildInputs = [ makeWrapper gnome2.gnome_keyring ];
|
|
||||||
|
|
||||||
phases = [ "unpackPhase" ];
|
buildInputs = [ gnome2.gnome_keyring ];
|
||||||
|
|
||||||
unpackPhase = ''
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
buildCommand = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
|
|
||||||
${dpkg}/bin/dpkg-deb -x $src unpacked
|
${dpkg}/bin/dpkg-deb -x $src unpacked
|
||||||
|
Loading…
Reference in New Issue
Block a user