xml-nix/flake.nix

14 lines
340 B
Nix
Raw Permalink Normal View History

2022-06-21 11:56:49 -07:00
{
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; }; };
};
}