Merge pull request #179906 from fortuneteller2k/discord-fix-override
discord: fix override
This commit is contained in:
commit
770e59d084
4 changed files with 13 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
{ pname, version, src, openasar, meta, stdenv, binaryName, desktopName, lib, undmg, withOpenASAR }:
|
||||
{ pname, version, src, openasar, meta, stdenv, binaryName, desktopName, lib, undmg, withOpenASAR ? false }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
inherit pname version src meta;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ branch ? "stable", callPackage, fetchurl, lib, stdenv, withOpenASAR ? false }:
|
||||
{ branch ? "stable", callPackage, fetchurl, lib, stdenv }:
|
||||
let
|
||||
versions = if stdenv.isLinux then {
|
||||
stable = "0.0.18";
|
||||
|
@ -67,7 +67,7 @@ let
|
|||
packages = (builtins.mapAttrs
|
||||
(_: value: callPackage package
|
||||
(value // {
|
||||
inherit src version openasar withOpenASAR;
|
||||
inherit src version openasar;
|
||||
meta = meta // { mainProgram = value.binaryName; };
|
||||
})
|
||||
)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
, libXScrnSaver, libXcomposite, libXcursor, libXdamage, libXext, libXfixes
|
||||
, libXi, libXrandr, libXrender, libXtst, libxcb, libxshmfence, mesa, nspr, nss
|
||||
, pango, systemd, libappindicator-gtk3, libdbusmenu, writeScript
|
||||
, common-updater-scripts, withOpenASAR }:
|
||||
, common-updater-scripts, withOpenASAR ? false }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit pname version src meta;
|
||||
|
|
|
@ -35545,15 +35545,21 @@ with pkgs;
|
|||
|
||||
mpvc = callPackage ../applications/misc/mpvc { };
|
||||
|
||||
discord = callPackage ../applications/networking/instant-messengers/discord {
|
||||
discord = import ../applications/networking/instant-messengers/discord {
|
||||
inherit lib stdenv;
|
||||
inherit (pkgs) callPackage fetchurl;
|
||||
branch = "stable";
|
||||
};
|
||||
|
||||
discord-ptb = callPackage ../applications/networking/instant-messengers/discord {
|
||||
discord-ptb = import ../applications/networking/instant-messengers/discord {
|
||||
inherit lib stdenv;
|
||||
inherit (pkgs) callPackage fetchurl;
|
||||
branch = "ptb";
|
||||
};
|
||||
|
||||
discord-canary = callPackage ../applications/networking/instant-messengers/discord {
|
||||
discord-canary = import ../applications/networking/instant-messengers/discord {
|
||||
inherit lib stdenv;
|
||||
inherit (pkgs) callPackage fetchurl;
|
||||
branch = "canary";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue