anyrun: format rfc style
This commit is contained in:
@@ -1,19 +1,20 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, wrapGAppsHook3
|
||||
, atk
|
||||
, cairo
|
||||
, gdk-pixbuf
|
||||
, glib
|
||||
, gtk3
|
||||
, pango
|
||||
, stdenv
|
||||
, darwin
|
||||
, wayland
|
||||
, gtk-layer-shell
|
||||
, unstableGitUpdater
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
wrapGAppsHook3,
|
||||
atk,
|
||||
cairo,
|
||||
gdk-pixbuf,
|
||||
glib,
|
||||
gtk3,
|
||||
pango,
|
||||
stdenv,
|
||||
darwin,
|
||||
wayland,
|
||||
gtk-layer-shell,
|
||||
unstableGitUpdater,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@@ -38,19 +39,18 @@ rustPlatform.buildRustPackage rec {
|
||||
wrapGAppsHook3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
atk
|
||||
cairo
|
||||
gdk-pixbuf
|
||||
glib
|
||||
gtk3
|
||||
gtk-layer-shell
|
||||
pango
|
||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
] ++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
wayland
|
||||
];
|
||||
buildInputs =
|
||||
[
|
||||
atk
|
||||
cairo
|
||||
gdk-pixbuf
|
||||
glib
|
||||
gtk3
|
||||
gtk-layer-shell
|
||||
pango
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Security ]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [ wayland ];
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
|
||||
Reference in New Issue
Block a user