mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
Blind commit trying to fix nvidia cg toolkit on i686-linux
svn path=/nixpkgs/trunk/; revision=32546
This commit is contained in:
parent
72450d9b73
commit
d1e84a7498
@ -33,10 +33,9 @@ stdenv.mkDerivation rec {
|
||||
ensureDir "$out/include/"
|
||||
cp -v -r include/Cg/ "$out/include/"
|
||||
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 \
|
||||
${if stdenv.system == "x86_64-linux" then "manCg" else ""} manCgFX
|
||||
[ "$system" == "x86_64-linux" ] && cp -v lib64/* "$out/lib/"
|
||||
[ "$system" == "i686-linux" ] && cp -v lib/* "$out/lib/"
|
||||
for mandir in man1 man3 manCg manCgFX
|
||||
do
|
||||
ensureDir "$out/share/man/$mandir/"
|
||||
cp -v share/man/$mandir/* "$out/share/man/$mandir/"
|
||||
|
Loading…
Reference in New Issue
Block a user