Hi all,
I have a bunch of files created with pkgs.writeText.
I would like to bundle them into 1 derivation, so I can run buildEnv
on a few of these dirs to merge them.
Currently, I just use runCommand to manually link the files into 1
dir, but there must be an easier way.
Thanks,
Mathijs
___
Excerpts from Mathijs Kwik's message of Tue Aug 28 18:14:07 +0200 2012:
> I have a bunch of files created with pkgs.writeText.
writeText => you can specify the target location such as $out/bin/x or
$out/share/foo
=> how to turn them into one directory?
mkDerivation {
name = "x";
phases = "inst
On Tue, Aug 28, 2012 at 8:08 PM, Marc Weber wrote:
> Excerpts from Mathijs Kwik's message of Tue Aug 28 18:14:07 +0200 2012:
>> I have a bunch of files created with pkgs.writeText.
>
> writeText => you can specify the target location such as $out/bin/x or
> $out/share/foo
>
> => how to turn them i