@@ -6,25 +6,11 @@
66 * Hint: ### starts category names.
77 */
88{ lib, noSysDirs, config}:
9−res: pkgs: super:
9+pkgs:
1010
1111with pkgs;
1212
13−let
14− self =
15− builtins.trace ''
16− It seems that you are using a patched Nixpkgs that references the self
17− variable in pkgs/top-level/all-packages.nix. This variable was incorrectly
18− named, so its usage needs attention. Please use pkgs for packages or super
19− for functions.
20− ''
21− res; # Do *NOT* use res in your fork. It will be removed.
22−
23− # TODO: turn self into an error
24−
25−in
2613{
27−
2814 # Allow callPackage to fill in the pkgs argument
2915 inherit pkgs;
3016
@@ -13872,7 +13858,7 @@ in
1387213858
1387313859 timescaledb-parallel-copy = callPackage ../development/tools/database/timescaledb-parallel-copy { };
1387413860
13875− inherit (import ../servers/sql/postgresql pkgs super)
13861+ inherit (import ../servers/sql/postgresql pkgs)
1387613862 postgresql_9_4
1387713863 postgresql_9_5
1387813864 postgresql_9_6
@@ -16218,7 +16204,7 @@ in
1621816204 };
1621916205 bitwig-studio2 = callPackage ../applications/audio/bitwig-studio/bitwig-studio2.nix {
1622016206 inherit (gnome3) zenity;
16221− inherit (res) bitwig-studio1;
16207+ inherit (pkgs) bitwig-studio1;
1622216208 };
1622316209 bitwig-studio = bitwig-studio2;
1622416210
@@ -22528,7 +22514,7 @@ in
2252822514 parameter set to the right value for your deployment target.
2252922515 */
2253022516 nixos = configuration:
22531− (import (res.path + "/nixos/lib/eval-config.nix") {
22517+ (import (pkgs.path + "/nixos/lib/eval-config.nix") {
2253222518 inherit (pkgs.stdenv.hostPlatform) system;
2253322519 modules = [(
2253422520 { lib, ... }: {