28 lines
692 B
Nix
28 lines
692 B
Nix
|
|
{
|
||
|
|
description = "ca-store: A simple content-addressed store";
|
||
|
|
|
||
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
|
||
|
|
|
||
|
|
outputs = { self, nixpkgs }:
|
||
|
|
let
|
||
|
|
forAllSystems = nixpkgs.lib.genAttrs [ "x86_64-linux" ];
|
||
|
|
in {
|
||
|
|
packages = forAllSystems (system:
|
||
|
|
let
|
||
|
|
np = import nixpkgs {
|
||
|
|
inherit system;
|
||
|
|
overlays = [ self.overlays.default ];
|
||
|
|
};
|
||
|
|
in { ca-store = np.ca-store; default = np.ca-store; }
|
||
|
|
);
|
||
|
|
|
||
|
|
overlays.default = final: prev: {
|
||
|
|
ca-store = final.haskellPackages.developPackage {
|
||
|
|
root = ./.;
|
||
|
|
name = "ca-store";
|
||
|
|
withHoogle = false;
|
||
|
|
};
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|