diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-08-10 16:38:41 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-08-10 16:39:00 +0200 |
commit | 13f133f71f349164b74cd518955d02e342504cac (patch) | |
tree | 0d86892be42245388046bd78e191b6a565582eca /pkgs/development/libraries/libgpg-error | |
parent | 9b70bc6e34345b868aaad2defa426dc331b505d5 (diff) | |
download | nixlib-13f133f71f349164b74cd518955d02e342504cac.tar nixlib-13f133f71f349164b74cd518955d02e342504cac.tar.gz nixlib-13f133f71f349164b74cd518955d02e342504cac.tar.bz2 nixlib-13f133f71f349164b74cd518955d02e342504cac.tar.lz nixlib-13f133f71f349164b74cd518955d02e342504cac.tar.xz nixlib-13f133f71f349164b74cd518955d02e342504cac.tar.zst nixlib-13f133f71f349164b74cd518955d02e342504cac.zip |
libgpg-error: re-run `config.status' with Bash on OpenIndiana
Diffstat (limited to 'pkgs/development/libraries/libgpg-error')
-rw-r--r-- | pkgs/development/libraries/libgpg-error/default.nix | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libgpg-error/default.nix b/pkgs/development/libraries/libgpg-error/default.nix index 255057b5134a..f7052b90b42c 100644 --- a/pkgs/development/libraries/libgpg-error/default.nix +++ b/pkgs/development/libraries/libgpg-error/default.nix @@ -1,6 +1,6 @@ -{stdenv, fetchurl}: +{ stdenv, fetchurl, bash }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (rec { name = "libgpg-error-1.10"; src = fetchurl { @@ -26,3 +26,16 @@ stdenv.mkDerivation rec { platforms = stdenv.lib.platforms.all; }; } + +// + +(stdenv.lib.optionalAttrs stdenv.isSunOS { + # For some reason, /bin/sh on OpenIndiana leads to this at the end of the + # `config.status' run: + # ./config.status[1401]: shift: (null): bad number + # (See <http://hydra.nixos.org/build/2931046/nixlog/1/raw>.) + # Thus, re-run it with Bash. + postConfigure = + '' ${bash}/bin/sh config.status + ''; +})) |