mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-27 16:33:05 +03:00
25 lines
570 B
Nix
25 lines
570 B
Nix
{
|
|
inputs = {
|
|
dream2nix.url = "github:nix-community/dream2nix";
|
|
src.url = "github:NorfairKing/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 = ./.;
|
|
projects = ./projects.toml;
|
|
})
|
|
// {
|
|
# checks.x86_64-linux.cabal2json = self.packages.x86_64-linux.cabal2json.overrideAttrs (old: {
|
|
# doCheck = false;
|
|
# });
|
|
};
|
|
}
|