diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2018-07-29 16:48:24 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-08-02 15:01:58 -0400 |
commit | 34da7e2ce2ca92bdeb73d8257e2ca145a0fc45a5 (patch) | |
tree | c8745f7e51296fe44c6a04927c1c60b040bbab84 /pkgs/development/libraries/libgcrypt | |
parent | 89a89ddfb3665561a3410420634ada773dfea691 (diff) | |
download | nixlib-34da7e2ce2ca92bdeb73d8257e2ca145a0fc45a5.tar nixlib-34da7e2ce2ca92bdeb73d8257e2ca145a0fc45a5.tar.gz nixlib-34da7e2ce2ca92bdeb73d8257e2ca145a0fc45a5.tar.bz2 nixlib-34da7e2ce2ca92bdeb73d8257e2ca145a0fc45a5.tar.lz nixlib-34da7e2ce2ca92bdeb73d8257e2ca145a0fc45a5.tar.xz nixlib-34da7e2ce2ca92bdeb73d8257e2ca145a0fc45a5.tar.zst nixlib-34da7e2ce2ca92bdeb73d8257e2ca145a0fc45a5.zip |
treewide: Remove stdenv.isCross
I *want* cross-specific overrides to be verbose, so I rather not have this shorthand. This makes the syntactic overhead more proportional to the maintainence cost. Hopefully this pushes people towards fewer conditionals and more abstractions.
Diffstat (limited to 'pkgs/development/libraries/libgcrypt')
-rw-r--r-- | pkgs/development/libraries/libgcrypt/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libgcrypt/default.nix b/pkgs/development/libraries/libgcrypt/default.nix index 638dec302b77..d8708114c8e6 100644 --- a/pkgs/development/libraries/libgcrypt/default.nix +++ b/pkgs/development/libraries/libgcrypt/default.nix @@ -30,7 +30,7 @@ stdenv.mkDerivation rec { ++ stdenv.lib.optional stdenv.isDarwin gettext ++ stdenv.lib.optional enableCapabilities libcap; - preConfigure = stdenv.lib.optionalString stdenv.isCross '' + preConfigure = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' # This is intentional: gpg-error-config is a shell script that will work during the build mkdir -p "$NIX_BUILD_TOP"/bin ln -s ${libgpgerror.dev}/bin/gpg-error-config "$NIX_BUILD_TOP/bin" |