Skip to content

Commit

Permalink
default.nix: dep: upd hnix-store: use it from the repository
Browse files Browse the repository at this point in the history
M  default.nix
  • Loading branch information
Anton-Latukha committed May 25, 2020
1 parent c8bd243 commit bc1886d
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,17 @@
}:

let
hnix-store-src = pkgs.fetchFromGitHub {
owner = "haskell-nix";
repo = "hnix-store";
rev = "0.2.0.0";
sha256 = "1qf5rn43d46vgqqgmwqdkjh78rfg6bcp4kypq3z7mx46sdpzvb78";
};

# 2020-05-23: NOTE: Currently HNix-store needs no overlay
# hnix-store-src = pkgs.fetchFromGitHub {
# owner = "haskell-nix";
# repo = "hnix-store";
# rev = "0.2.0.0";
# sha256 = "1qf5rn43d46vgqqgmwqdkjh78rfg6bcp4kypq3z7mx46sdpzvb78";
# };

overlay = pkgs.lib.foldr pkgs.lib.composeExtensions (_: _: {}) [
(import "${hnix-store-src}/overlay.nix")
# (import "${hnix-store-src}/overlay.nix")
(self: super: with pkgs.haskell.lib;
pkgs.lib.optionalAttrs withHoogle {
ghc = super.ghc // { withPackages = super.ghc.withHoogle; };
Expand Down

0 comments on commit bc1886d

Please sign in to comment.