hnix-store/default.nix
Richard Marko 89806de8ec defualt.nix: unpin
let it fail in CI which is configured to build it at least
once a month so we know about any possible breakage.
2023-11-12 14:23:02 +01:00

19 lines
535 B
Nix

{ pkgs ? import <nixpkgs> {}
}:
let
overlay = import ./overlay.nix pkgs pkgs.haskell.lib;
overrideHaskellPackages = orig: {
buildHaskellPackages =
orig.buildHaskellPackages.override overrideHaskellPackages;
overrides = if orig ? overrides
then pkgs.lib.composeExtensions orig.overrides overlay
else overlay;
};
haskellPackages =
pkgs.haskellPackages.override overrideHaskellPackages;
in {
inherit (haskellPackages) hnix-store-core hnix-store-remote;
inherit haskellPackages;
inherit pkgs;
}