From d9d799ef9bc5a5115f52cf80da83f833f823830a Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Fri, 22 Oct 2021 21:44:34 +0200 Subject: [PATCH] overlays: Import unstable with wrapper --- overlays/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/overlays/default.nix b/overlays/default.nix index ef3f103..6b7a356 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -3,14 +3,19 @@ , lib }: -{ +let + importWrapper = file: import file { + pkgs = pkgs; + lib = lib; + }; +in { emacs = import (builtins.fetchGit { url = "https://github.com/nix-community/emacs-overlay.git"; ref = "master"; rev = "ce0e9482d53d69bedc8416d8a984d00e17607826"; }); nur = import ./nur.nix pkgs; - unstable = import ./unstable.nix pkgs; + unstable = importWrapper ./unstable.nix; custom = import ./custom.nix pkgs; simple = import ./simple.nix pkgs; surface = import ./surface.nix pkgs;