dream2nix/examples/haskell-cabal2json/flake.nix

27 lines
504 B
Nix
Raw Normal View History

{
inputs = {
dream2nix.url = "github:nix-community/dream2nix";
src.url = "github:NorfairKing/cabal2json";
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 = [
{
subsystemInfo.noDev = true;
}
];
})
// {
# checks = self.packages;
};
}