diff options
author | PedroHLC ☭ <root@pedrohlc.com> | 2022-07-01 18:55:49 -0300 |
---|---|---|
committer | PedroHLC ☭ <root@pedrohlc.com> | 2022-07-01 18:55:49 -0300 |
commit | 78abe603afefa3f644000b0fe6bdc6eec11e37f8 (patch) | |
tree | 2393b639ffc517429dfc7c397bc35323eeb850b7 /pkgs/applications/networking/instant-messengers/discord/linux.nix | |
parent | 23488b5815ef60b3084a874f71fdae2dff52e1f7 (diff) | |
download | nixpkgs-78abe603afefa3f644000b0fe6bdc6eec11e37f8.tar nixpkgs-78abe603afefa3f644000b0fe6bdc6eec11e37f8.tar.gz nixpkgs-78abe603afefa3f644000b0fe6bdc6eec11e37f8.tar.bz2 nixpkgs-78abe603afefa3f644000b0fe6bdc6eec11e37f8.tar.lz nixpkgs-78abe603afefa3f644000b0fe6bdc6eec11e37f8.tar.xz nixpkgs-78abe603afefa3f644000b0fe6bdc6eec11e37f8.tar.zst nixpkgs-78abe603afefa3f644000b0fe6bdc6eec11e37f8.zip |
openasar: add unzip; remove autoupdater; unstable-2022-06-10 -> unstable-2022-06-27
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/discord/linux.nix')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/discord/linux.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/networking/instant-messengers/discord/linux.nix b/pkgs/applications/networking/instant-messengers/discord/linux.nix index 28c1d353ff6..a68414978b0 100644 --- a/pkgs/applications/networking/instant-messengers/discord/linux.nix +++ b/pkgs/applications/networking/instant-messengers/discord/linux.nix @@ -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 }: +, common-updater-scripts, withOpenASAR }: stdenv.mkDerivation rec { inherit pname version src meta; @@ -101,7 +101,7 @@ stdenv.mkDerivation rec { runHook postInstall ''; - postInstall = lib.strings.optionalString (openasar != null) '' + postInstall = lib.strings.optionalString withOpenASAR '' cp -f ${openasar} $out/opt/${binaryName}/resources/app.asar ''; |