Skip to content

Commit

Permalink
fix libreoffice build
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Nov 8, 2014
1 parent 53667c7 commit 555a094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/applications/office/libreoffice/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ stdenv.mkDerivation rec {
+ ''
ln -sv ${srcs.help} $sourceRoot/src/${srcs.help.name}
tar xf $sourceRoot/src/${srcs.help.name} -C $sourceRoot/../
ln -sv ${srcs.translations} $sourceRoot/src/${srcs.translations.name}
ln -svf ${srcs.translations} $sourceRoot/src/${srcs.translations.name}
tar xf $sourceRoot/src/${srcs.translations.name} -C $sourceRoot/../
'';

Expand Down

5 comments on commit 555a094

@7c6f434c
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder how it worked for me (I built the updated version locally with no problem)… Also, does that mean that there is a smaller translations file included now?

@ambrop72
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm getting this build error (with this commit):

ln: '/tmp/nix-build-libreoffice-4.3.3.2.drv-0/libreoffice-4.3.3.2/translations': cannot overwrite directory

@7c6f434c
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, my attempt to build worked just fine (at least reached configure stage, will wait and see) with current master.

I start to feel I am doing something wrong…

What is the platform where all these interesting events happen?

@7c6f434c
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ouch. The failure seems non-deterministic…

@7c6f434c
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I specified -K to look at the problem and the problem disappeared… Pity.

Please sign in to comment.