diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2018-07-24 20:11:51 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-08-02 15:10:03 -0400 |
commit | 9d23b95483a63fd93544059798d07f68035f2361 (patch) | |
tree | 890ff252d04abd4b0a4d88cf76d170c5da61b682 | |
parent | 34da7e2ce2ca92bdeb73d8257e2ca145a0fc45a5 (diff) | |
download | nixlib-9d23b95483a63fd93544059798d07f68035f2361.tar nixlib-9d23b95483a63fd93544059798d07f68035f2361.tar.gz nixlib-9d23b95483a63fd93544059798d07f68035f2361.tar.bz2 nixlib-9d23b95483a63fd93544059798d07f68035f2361.tar.lz nixlib-9d23b95483a63fd93544059798d07f68035f2361.tar.xz nixlib-9d23b95483a63fd93544059798d07f68035f2361.tar.zst nixlib-9d23b95483a63fd93544059798d07f68035f2361.zip |
elfutils: Clean up with rebuild
Wrote contorted code before to avoid mass-rebuild
-rw-r--r-- | pkgs/development/tools/misc/elfutils/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/misc/elfutils/default.nix b/pkgs/development/tools/misc/elfutils/default.nix index af140bfb1d65..e067c0a669be 100644 --- a/pkgs/development/tools/misc/elfutils/default.nix +++ b/pkgs/development/tools/misc/elfutils/default.nix @@ -35,7 +35,7 @@ stdenv.mkDerivation rec { # # 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 make popd @@ -50,7 +50,7 @@ stdenv.mkDerivation rec { popd ''; - installPhase = if stdenv.hostPlatform == stdenv.buildPlatform then null else '' + installPhase = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' pushd libelf make install popd |