gcc-4.5: fix build

It's fallout after output changes #27424.
gnat seems OK now, except that the wrapper is broken, so it's probably
not really usable.
This commit is contained in:
Vladimír Čunát 2017-08-23 10:09:37 +02:00
parent f1514a5876
commit 2afb096e83
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -138,8 +138,9 @@ stdenv.mkDerivation ({
hardeningDisable = [ "format" ] ++ optional (name != "gnat") "all";
outputs = if (hostPlatform.is64bit && langAda) then [ "out" "doc" ]
else [ "out" "lib" "doc" ];
outputs = [ "out" "man" "info" ]
++ optional (!(hostPlatform.is64bit && langAda)) "lib";
setOutputFlags = false;
NIX_NO_SELF_RPATH = true;