mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-18 12:01:38 +03:00
e8fe3f803f
Apply naming scheme {subsystem}_{test-name}
29 lines
610 B
Nix
29 lines
610 B
Nix
{
|
|
inputs = {
|
|
dream2nix.url = "github:nix-community/dream2nix";
|
|
src.url = "github:davhau/cabal2json/plan-json";
|
|
src.flake = false;
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
dream2nix,
|
|
src,
|
|
} @ inp:
|
|
(dream2nix.lib.makeFlakeOutputs {
|
|
pkgs = dream2nix.inputs.nixpkgs.legacyPackages.x86_64-linux;
|
|
source = src;
|
|
config.projectRoot = ./.;
|
|
settings = [
|
|
{
|
|
translator = "cabal-plan";
|
|
}
|
|
];
|
|
})
|
|
// {
|
|
checks.x86_64-linux.cabal2json = self.packages.x86_64-linux.cabal2json.overrideAttrs (old: {
|
|
doCheck = false;
|
|
});
|
|
};
|
|
}
|