[Nix-dev] fetchurl and unpacker produced multiple directories

Tomas Hlavaty tom at logand.com
Fri Jun 3 08:27:06 CEST 2016


Hi Domen,

> If your source is in `src` directory:
>
> sourceRoot = "src";

Yes, the source directory is in src but the top-level CMakeLists.txt is
directly in the root dir of the tarball.  I was looking for some kind of
way to tell fetchurl to unpack the tarball in a predefined subdirectory
or something, in order to prevent this error message and make fetchurl
happy.  Is there something I can do short of not using fetchurl?

Thank you for your help!

Tomas


More information about the nix-dev mailing list