[Nix-dev] Explicitly selecting sources for "src" in stdenv.mkDerivation?

Linus Heckemann acc at sphalerite.org
Thu Feb 16 13:30:22 CET 2017


On 16/02/17 12:28, Freddy Rietdijk wrote:
>> src = [ ./subproject-A/schema.sql ./subproject-A/lib ];
> 
> Each of the files you mentioned here will be stored in a separate store
> path. You could write a simple function that takes a list of derivations
> and copies the contents of those derivations in a new output.

Or use symlinkJoin, which does that but without the copying.


More information about the nix-dev mailing list