From 72bf1b54e557d45ed0633e2f91b38371b3e12fed Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Tue, 2 May 2023 12:47:42 +0200 Subject: [PATCH] discord: add comment about callPackage not working with override https://github.com/NixOS/nixpkgs/pull/179906 --- pkgs/top-level/all-packages.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a2e95fa3fd0a..283d900544be 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -39760,14 +39760,13 @@ with pkgs; mpvc = callPackage ../applications/misc/mpvc { }; + # Overriding does not work when using callPackage on discord using import instead. (https://github.com/NixOS/nixpkgs/pull/179906) discord = import ../applications/networking/instant-messengers/discord { inherit lib stdenv; inherit (pkgs) callPackage fetchurl; branch = "stable"; }; - discordo = callPackage ../applications/networking/discordo/default.nix { }; - discord-ptb = import ../applications/networking/instant-messengers/discord { inherit lib stdenv; inherit (pkgs) callPackage fetchurl; @@ -39786,6 +39785,9 @@ with pkgs; branch = "development"; }; + + discordo = callPackage ../applications/networking/discordo/default.nix { }; + golden-cheetah = libsForQt5.callPackage ../applications/misc/golden-cheetah { }; golden-cheetah-bin = callPackage ../applications/misc/golden-cheetah-bin {};