sourceRoot = "."; and then you can mv/cp in postUnpack phase
On Fri, Jun 3, 2016 at 8:27 AM, Tomas Hlavaty <t...@logand.com> wrote: > 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 > _______________________________________________ > nix-dev mailing list > nix-dev@lists.science.uu.nl > http://lists.science.uu.nl/mailman/listinfo/nix-dev -- Rok Garbas http://www.garbas.si r...@garbas.si _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev