chore: reduce packages built by .#tests-examples

This commit is contained in:
DavHau 2022-11-15 00:13:25 +01:00
parent 5459aee477
commit a0c0260c14
10 changed files with 13 additions and 35 deletions

View File

@ -46,7 +46,7 @@
));
}
{
checks.x86_64-linux.prettier = self.packages.x86_64-linux.prettier;
# checks.x86_64-linux.prettier = self.packages.x86_64-linux.prettier;
}
];
}

View File

@ -58,6 +58,6 @@
];
})
// {
checks.x86_64-linux.linemd = self.packages.x86_64-linux.linemd;
# checks.x86_64-linux.linemd = self.packages.x86_64-linux.linemd;
};
}

View File

@ -31,9 +31,9 @@
};
in rec {
packages.${pkgs.system} = outputs.packages;
checks.${pkgs.system} = {
inherit (outputs.packages) linemd;
};
# checks.${pkgs.system} = {
# inherit (outputs.packages) linemd;
# };
};
allOutputs = l.map makeOutputs allPkgs;

View File

@ -21,8 +21,8 @@
];
})
// {
checks.x86_64-linux.cabal2json = self.packages.x86_64-linux.cabal2json.overrideAttrs (old: {
doCheck = false;
});
# checks.x86_64-linux.cabal2json = self.packages.x86_64-linux.cabal2json.overrideAttrs (old: {
# doCheck = false;
# });
};
}

View File

@ -22,6 +22,6 @@
];
})
// {
checks = self.packages;
# checks = self.packages;
};
}

View File

@ -1,22 +0,0 @@
{
inputs = {
dream2nix.url = "github:nix-community/dream2nix";
src.url = "github:mattermost/mattermost-webapp/v6.1.0";
src.flake = false;
};
outputs = {
self,
dream2nix,
src,
} @ inp:
(dream2nix.lib.makeFlakeOutputs {
systems = ["x86_64-linux"];
config.projectRoot = ./.;
source = src;
})
// {
# checks are too expensive
# checks = self.packages;
};
}

View File

@ -1,7 +1,7 @@
{
inputs = {
dream2nix.url = "github:nix-community/dream2nix";
src.url = "github:composer/composer";
src.url = "github:Gipetto/CowSay";
src.flake = false;
};

View File

@ -22,6 +22,6 @@
];
})
// {
checks.x86_64-linux.linemd = self.packages.x86_64-linux.linemd;
# checks.x86_64-linux.linemd = self.packages.x86_64-linux.linemd;
};
}

View File

@ -22,6 +22,6 @@
];
})
// {
checks.x86_64-linux.ripgrep = self.packages.x86_64-linux.ripgrep;
# checks.x86_64-linux.ripgrep = self.packages.x86_64-linux.ripgrep;
};
}

View File

@ -48,6 +48,6 @@
};
})
// {
checks.x86_64-linux.linemd = self.packages.x86_64-linux.linemd;
# checks.x86_64-linux.linemd = self.packages.x86_64-linux.linemd;
};
}