Revert "all-packages.nix: Provide a shorter way to specify packages"
This reverts commit ece61b7cc8
.
This commit is contained in:
parent
ece61b7cc8
commit
e7295597d8
@ -1,16 +0,0 @@
|
||||
/* A list of file names of package Nix expressions, whose base names
|
||||
match the intended attribute names, and that do not need to be
|
||||
called with any overrides. Thus, listing ‘./foo.nix’ here is
|
||||
equivalent to defining the attribute
|
||||
|
||||
foo = callPackage ./foo.nix { };
|
||||
|
||||
in all-packages.nix. */
|
||||
|
||||
[
|
||||
build-support/libredirect
|
||||
development/libraries/libogg
|
||||
development/libraries/libvorbis
|
||||
tools/archivers/gnutar
|
||||
tools/system/acct
|
||||
]
|
@ -130,19 +130,11 @@ let
|
||||
in pkgs;
|
||||
|
||||
|
||||
# The package compositions.
|
||||
# The package compositions. Yes, this isn't properly indented.
|
||||
pkgsFun = pkgs: overrides:
|
||||
let
|
||||
defaultScope = pkgs // pkgs.xorg;
|
||||
autoPackages = lib.listToAttrs
|
||||
(map (fn: { name = baseNameOf (toString fn); value = pkgs.callPackage fn { }; })
|
||||
(import ../auto-packages.nix));
|
||||
self = self_ // autoPackages // overrides;
|
||||
self_ = with self; helperFunctions //
|
||||
|
||||
|
||||
# Yes, this isn't properly indented.
|
||||
{
|
||||
with helperFunctions;
|
||||
let defaultScope = pkgs // pkgs.xorg; self = self_ // overrides;
|
||||
self_ = with self; helperFunctions // {
|
||||
|
||||
# Make some arguments passed to all-packages.nix available
|
||||
inherit system stdenvType platform;
|
||||
@ -369,6 +361,8 @@ let
|
||||
inherit url;
|
||||
};
|
||||
|
||||
libredirect = callPackage ../build-support/libredirect { };
|
||||
|
||||
makeDesktopItem = import ../build-support/make-desktopitem {
|
||||
inherit stdenv;
|
||||
};
|
||||
@ -433,6 +427,8 @@ let
|
||||
|
||||
### TOOLS
|
||||
|
||||
acct = callPackage ../tools/system/acct { };
|
||||
|
||||
acoustidFingerprinter = callPackage ../tools/audio/acoustid-fingerprinter {
|
||||
ffmpeg = ffmpeg_1;
|
||||
};
|
||||
@ -1163,6 +1159,8 @@ let
|
||||
|
||||
gnused = callPackage ../tools/text/gnused { };
|
||||
|
||||
gnutar = callPackage ../tools/archivers/gnutar { };
|
||||
|
||||
gnuvd = callPackage ../tools/misc/gnuvd { };
|
||||
|
||||
goaccess = callPackage ../tools/misc/goaccess { };
|
||||
@ -5368,6 +5366,8 @@ let
|
||||
|
||||
libofx = callPackage ../development/libraries/libofx { };
|
||||
|
||||
libogg = callPackage ../development/libraries/libogg { };
|
||||
|
||||
liboggz = callPackage ../development/libraries/liboggz { };
|
||||
|
||||
liboil = callPackage ../development/libraries/liboil { };
|
||||
@ -5534,6 +5534,8 @@ let
|
||||
|
||||
libvterm = callPackage ../development/libraries/libvterm { };
|
||||
|
||||
libvorbis = callPackage ../development/libraries/libvorbis { };
|
||||
|
||||
libwebp = callPackage ../development/libraries/libwebp { };
|
||||
|
||||
libwmf = callPackage ../development/libraries/libwmf { };
|
||||
@ -10415,13 +10417,13 @@ let
|
||||
callPackage = newScope pkgs.cinnamon;
|
||||
inherit (gnome3) gnome_common libgnomekbd gnome-menus zenity;
|
||||
|
||||
muffin = callPackage ../desktops/cinnamon/muffin.nix { };
|
||||
muffin = callPackage ../desktops/cinnamon/muffin.nix { } ;
|
||||
|
||||
cinnamon-control-center = callPackage ../desktops/cinnamon/cinnamon-control-center.nix { };
|
||||
cinnamon-control-center = callPackage ../desktops/cinnamon/cinnamon-control-center.nix{ };
|
||||
|
||||
cinnamon-settings-daemon = callPackage ../desktops/cinnamon/cinnamon-settings-daemon.nix { };
|
||||
cinnamon-settings-daemon = callPackage ../desktops/cinnamon/cinnamon-settings-daemon.nix{ };
|
||||
|
||||
cinnamon-session = callPackage ../desktops/cinnamon/cinnamon-session.nix { };
|
||||
cinnamon-session = callPackage ../desktops/cinnamon/cinnamon-session.nix{ } ;
|
||||
|
||||
cinnamon-desktop = callPackage ../desktops/cinnamon/cinnamon-desktop.nix { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user