diff --git a/pkgs/development/compilers/nvidia-cg-toolkit/default.nix b/pkgs/development/compilers/nvidia-cg-toolkit/default.nix index 8bb201f975e7..06f1d74382ee 100644 --- a/pkgs/development/compilers/nvidia-cg-toolkit/default.nix +++ b/pkgs/development/compilers/nvidia-cg-toolkit/default.nix @@ -35,7 +35,8 @@ stdenv.mkDerivation rec { ensureDir "$out/lib/" [ "$system" = "x86_64-linux" ] && cp -v lib64/* "$out/lib/" [ "$system" = "i686-linux" ] && cp -v lib/* "$out/lib/" - for mandir in man1 man3 manCg manCgFX + for mandir in man1 man3 \ + ${if stdenv.system == "x86_64-linux" then "manCg" else ""} manCgFX do ensureDir "$out/share/man/$mandir/" cp -v share/man/$mandir/* "$out/share/man/$mandir/"