translators/cabal-freeze: add example flake

This commit is contained in:
Brian Leung 2022-10-13 22:06:43 -07:00
parent 542035c7ed
commit 68c23526e5
No known key found for this signature in database
GPG Key ID: 2D86D6A94C8BB3B1

View File

@ -0,0 +1,23 @@
{
inputs = {
dream2nix.url = "github:nix-community/dream2nix";
src.url = "github:leungbk/unordered-containers/cabal-freeze-test";
src.flake = false;
};
outputs = {
self,
dream2nix,
src,
} @ inp: (dream2nix.lib.makeFlakeOutputs {
systems = ["x86_64-linux"];
config.projectRoot = ./.;
source = src;
settings = [
{
translator = "cabal-freeze";
}
{subsystemInfo = {defaultPackageName = "unordered-containers";};}
];
});
}