14 lines
340 B
Nix
14 lines
340 B
Nix
|
{
|
||
|
description = "Nix-to-XML converter.";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "nixpkgs/nixos-22.05";
|
||
|
utils.url = "github:numtide/flake-utils";
|
||
|
};
|
||
|
|
||
|
outputs = { self, nixpkgs, utils }: {
|
||
|
lib.toXML = import ./to-xml.nix { inherit (nixpkgs) lib; };
|
||
|
overlay = final: prev: { lib = prev.lib // { toXML = self.lib.toXML; }; };
|
||
|
};
|
||
|
}
|