mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-09-11 14:35:30 +03:00
translators/cabal-freeze: add example flake
This commit is contained in:
parent
542035c7ed
commit
68c23526e5
23
examples/haskell_cabal-freeze/flake.nix
Normal file
23
examples/haskell_cabal-freeze/flake.nix
Normal 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";};}
|
||||
];
|
||||
});
|
||||
}
|
Loading…
Reference in New Issue
Block a user