elfutils: Clean up with rebuild

Wrote contorted code before to avoid mass-rebuild
This commit is contained in:
John Ericson 2018-07-24 20:11:51 -04:00
parent 34da7e2ce2
commit 9d23b95483

View File

@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
# #
# I wrote this testing for the nanonote. # I wrote this testing for the nanonote.
buildPhase = if stdenv.hostPlatform == stdenv.buildPlatform then null else '' buildPhase = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
pushd libebl pushd libebl
make make
popd popd
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
popd popd
''; '';
installPhase = if stdenv.hostPlatform == stdenv.buildPlatform then null else '' installPhase = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
pushd libelf pushd libelf
make install make install
popd popd