From e82440741295543769fa79ae05519d58fcb81b08 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 3 Apr 2020 15:37:10 -0700 Subject: Factor haskell packages into overlays --- default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index 60b67b3..b15b925 100644 --- a/default.nix +++ b/default.nix @@ -1,6 +1,7 @@ let nixpkgs-tar = builtins.fetchTarball (import ./nixpkgs.nix); - nixpkgs = import "${nixpkgs-tar}" {}; + overlay = import ./overlays.nix; + nixpkgs = import "${nixpkgs-tar}" { overlays = [ overlay ]; }; nixos = import "${nixpkgs-tar}/nixos"; # TODO(bsima): buildNixOS should be split into multiple functions that each # return one thing, instead of a single function that returns multiple things -- cgit v1.2.3