haskellPackages.hnix: small refactoring of overrides

This commit is contained in:
Dennis Gosnell 2022-06-17 16:42:14 +09:00 committed by GitHub
parent 31a2d6b558
commit 58a089bf4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -240,10 +240,10 @@ self: super: {
# 2020-06-05: HACK: does not pass own build suite - `dontCheck`
# 2022-06-17: Use hnix-store 0.5 until hnix 0.17
hnix = generateOptparseApplicativeCompletion "hnix" (dontCheck (
super.hnix.override {
hnix-store-core = hnix_store_core_0_5_0_0;
hnix-store-remote = hnix_store_remote_0_5_0_0.override { hnix-store-core = hnix_store_core_0_5_0_0; };
}
super.hnix.overrideScope (hself: hsuper: {
hnix-store-core = hself.hnix-store-core_0_5_0_0;
hnix-store-remote = hself.hnix-store-remote_0_5_0_0;
})
));
# Too strict bounds on algebraic-graphs
# https://github.com/haskell-nix/hnix-store/issues/180