[Nix-dev] Templates

Marc Weber marco-oweber at gmx.de
Wed Jun 26 21:21:00 CEST 2013


I don't get what's bad about nix, you can use import (but you know that).

Nix should suppport: (I never tested it):

  let config = import "${derivation_reading_config_file_creating_nix_file}/the_generated_nix_file.nix":

That's closest and works right now.

Well of course you can just write ruby preprocessors turning your
templates into nix files, too.

Or patching nix are options.

But honestly I don't understand your use case.

Marc Weber


More information about the nix-dev mailing list