[Nix-dev] easiest way to create a derivation which is just a directory with files

Mathijs Kwik mathijs at bluescreen303.nl
Tue Aug 28 18:14:07 CEST 2012


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


More information about the nix-dev mailing list