mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
discord: fix override
This commit is contained in:
parent
904cf8a5ee
commit
af7323d1a8
@ -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;
|
||||
|
@ -35501,15 +35501,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 New Issue
Block a user