dream2nix/examples/haskell_cabal-plan/flake.nix

29 lines
610 B
Nix
Raw Normal View History

{
inputs = {
dream2nix.url = "github:nix-community/dream2nix";
src.url = "github:davhau/cabal2json/plan-json";
src.flake = false;
};
outputs = {
self,
dream2nix,
src,
2022-06-03 16:13:51 +03:00
} @ inp:
(dream2nix.lib.makeFlakeOutputs {
pkgs = dream2nix.inputs.nixpkgs.legacyPackages.x86_64-linux;
source = src;
2022-06-03 16:13:51 +03:00
config.projectRoot = ./.;
settings = [
{
translator = "cabal-plan";
}
];
})
// {
checks.x86_64-linux.cabal2json = self.packages.x86_64-linux.cabal2json.overrideAttrs (old: {
doCheck = false;
});
};
}