mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
gnome: Get rid of with
It can mask unknown variable errors.
This commit is contained in:
parent
bcfdf0252d
commit
8e1827acef
|
@ -1,7 +1,11 @@
|
|||
{ config, pkgs, lib }:
|
||||
|
||||
# NOTE: New packages should generally go to top-level instead of here!
|
||||
lib.makeScope pkgs.newScope (self: with self; {
|
||||
lib.makeScope pkgs.newScope (self:
|
||||
let
|
||||
inherit (self) callPackage;
|
||||
in
|
||||
{
|
||||
updateScript = callPackage ./update.nix { };
|
||||
|
||||
# Temporary helper until gdk-pixbuf supports multiple cache files.
|
||||
|
@ -9,7 +13,7 @@ lib.makeScope pkgs.newScope (self: with self; {
|
|||
_gdkPixbufCacheBuilder_DO_NOT_USE = callPackage ./gdk-pixbuf-cache-builder.nix { };
|
||||
|
||||
libsoup = pkgs.libsoup.override { gnomeSupport = true; };
|
||||
libchamplain = pkgs.libchamplain.override { libsoup = libsoup; };
|
||||
libchamplain = pkgs.libchamplain.override { inherit (self) libsoup; };
|
||||
|
||||
# ISO installer
|
||||
# installerIso = callPackage ./installer.nix {};
|
||||
|
|
Loading…
Reference in a new issue