elfutils: Clean up with rebuild
Wrote contorted code before to avoid mass-rebuild
This commit is contained in:
parent
34da7e2ce2
commit
9d23b95483
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user