overlays: Import unstable with wrapper

This commit is contained in:
PapaTutuWawa 2021-10-22 21:44:34 +02:00
parent 915cf779e0
commit d9d799ef9b

View File

@ -3,14 +3,19 @@
, lib , lib
}: }:
{ let
importWrapper = file: import file {
pkgs = pkgs;
lib = lib;
};
in {
emacs = import (builtins.fetchGit { emacs = import (builtins.fetchGit {
url = "https://github.com/nix-community/emacs-overlay.git"; url = "https://github.com/nix-community/emacs-overlay.git";
ref = "master"; ref = "master";
rev = "ce0e9482d53d69bedc8416d8a984d00e17607826"; rev = "ce0e9482d53d69bedc8416d8a984d00e17607826";
}); });
nur = import ./nur.nix pkgs; nur = import ./nur.nix pkgs;
unstable = import ./unstable.nix pkgs; unstable = importWrapper ./unstable.nix;
custom = import ./custom.nix pkgs; custom = import ./custom.nix pkgs;
simple = import ./simple.nix pkgs; simple = import ./simple.nix pkgs;
surface = import ./surface.nix pkgs; surface = import ./surface.nix pkgs;