mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-19 04:21:52 +03:00
31 lines
628 B
Nix
31 lines
628 B
Nix
{
|
|
inputs = {
|
|
dream2nix.url = "github:nix-community/dream2nix";
|
|
src.url = "github:NorfairKing/cabal2json";
|
|
src.flake = false;
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
dream2nix,
|
|
src,
|
|
} @ inp:
|
|
(dream2nix.lib.makeFlakeOutputs {
|
|
pkgs = dream2nix.inputs.nixpkgs.legacyPackages.x86_64-linux;
|
|
source = src;
|
|
config.projectRoot = ./.;
|
|
settings = [
|
|
{
|
|
# Optionally, override the compiler version
|
|
subsystemInfo.compiler = {
|
|
name = "ghc";
|
|
version = "8.10.7";
|
|
};
|
|
}
|
|
];
|
|
})
|
|
// {
|
|
# checks = self.packages;
|
|
};
|
|
}
|