Skip to content

Commit

Permalink
atlauncher: format with nixfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
GetPsyched committed Jul 9, 2024
1 parent 0d7271a commit c458862
Showing 1 changed file with 32 additions and 27 deletions.
59 changes: 32 additions & 27 deletions pkgs/by-name/at/atlauncher/package.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
{ copyDesktopItems
, fetchurl
, jre
, lib
, makeDesktopItem
, makeWrapper
, stdenvNoCC
{
copyDesktopItems,
fetchurl,
jre,
lib,
makeDesktopItem,
makeWrapper,
stdenvNoCC,

, gamemodeSupport ? stdenvNoCC.isLinux
, textToSpeechSupport ? stdenvNoCC.isLinux
, additionalLibs ? [ ]
gamemodeSupport ? stdenvNoCC.isLinux,
textToSpeechSupport ? stdenvNoCC.isLinux,
additionalLibs ? [ ],

, # dependencies
flite
, gamemode
, libglvnd
, libpulseaudio
, udev
, xorg
# dependencies
flite,
gamemode,
libglvnd,
libpulseaudio,
udev,
xorg,
}:

stdenvNoCC.mkDerivation (finalAttrs: {
Expand All @@ -35,19 +36,23 @@ stdenvNoCC.mkDerivation (finalAttrs: {

dontUnpack = true;

nativeBuildInputs = [ copyDesktopItems makeWrapper ];
nativeBuildInputs = [
copyDesktopItems
makeWrapper
];

installPhase =
let
runtimeLibraries = [
libglvnd
libpulseaudio
udev
xorg.libXxf86vm
]
++ lib.optional gamemodeSupport gamemode.lib
++ lib.optional textToSpeechSupport flite
++ additionalLibs;
runtimeLibraries =
[
libglvnd
libpulseaudio
udev
xorg.libXxf86vm
]
++ lib.optional gamemodeSupport gamemode.lib
++ lib.optional textToSpeechSupport flite
++ additionalLibs;
in
''
runHook preInstall
Expand Down

0 comments on commit c458862

Please sign in to comment.