From b36629d8212527f72d7a5f7b8adf05fcdec1b77f Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Mon, 15 Jun 2015 11:52:26 +0200 Subject: [PATCH] gnome3: also pass self to overridePackages function --- pkgs/desktops/gnome-3/3.16/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/desktops/gnome-3/3.16/default.nix b/pkgs/desktops/gnome-3/3.16/default.nix index 89f4ea86829b..2dee0cefd929 100644 --- a/pkgs/desktops/gnome-3/3.16/default.nix +++ b/pkgs/desktops/gnome-3/3.16/default.nix @@ -7,7 +7,9 @@ let self = self_ // overrides; self_ = with self; { - overridePackages = f: pkgsFun (f self); + overridePackages = f: + let newself = pkgsFun (f newself self); + in newself; callPackage = pkgs.newScope self;