Why not simply set unpackPhase tout tour nées ?
Le 3 juin 2016 09:22:33 UTC+02:00, Tomas Hlavaty a écrit :
>Rok Garbas writes:
>> sourceRoot = ".";
>> and then you can mv/cp in postUnpack phase
>
>ah, great, thank you!
>
>Tomas
>___
>nix-dev mailing li
Rok Garbas writes:
> sourceRoot = ".";
> and then you can mv/cp in postUnpack phase
ah, great, thank you!
Tomas
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
sourceRoot = ".";
and then you can mv/cp in postUnpack phase
On Fri, Jun 3, 2016 at 8:27 AM, Tomas Hlavaty 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 di
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 som
If your source is in `src` directory:
sourceRoot = "src";
On Thu, Jun 2, 2016 at 9:36 PM, Tomas Hlavaty wrote:
> Hi,
>
> I am trying to write a nix package but fetchurl fails with
>
>unpacker produced multiple directories
>
> due to the upstream tarball not containing a top level directory.
Hi,
I am trying to write a nix package but fetchurl fails with
unpacker produced multiple directories
due to the upstream tarball not containing a top level directory.
What is the usual way of dealing with such issue?
Thanks,
Tomas
___
nix-dev ma