mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2024-12-12 08:07:39 +03:00
89806de8ec
let it fail in CI which is configured to build it at least once a month so we know about any possible breakage.
19 lines
535 B
Nix
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;
|
|
}
|