diff options
author | Ben Sima <ben@bsima.me> | 2020-04-03 15:37:10 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-04-03 17:55:39 -0700 |
commit | e82440741295543769fa79ae05519d58fcb81b08 (patch) | |
tree | 7c63e371030947c2a1b0cb21a6687686794a2ccd /default.nix | |
parent | 4dc2cd1369a9bea6cf0d393059b7ae3a07039f52 (diff) |
Factor haskell packages into overlays
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
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 |