diff options
author | superherointj <5861043+superherointj@users.noreply.github.com> | 2024-06-29 17:09:06 -0300 |
---|---|---|
committer | superherointj <5861043+superherointj@users.noreply.github.com> | 2024-06-29 17:09:11 -0300 |
commit | 6240b5a56dae1b5fd21e8464b55b134d304ab248 (patch) | |
tree | a7dc3ee5973b7f62d926ca9bceff15cf67999936 | |
parent | a60876891ba5414dba83db3daceb54b19fb8aad0 (diff) |
alfis: nixfmt format
-rw-r--r-- | pkgs/applications/blockchains/alfis/default.nix | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/pkgs/applications/blockchains/alfis/default.nix b/pkgs/applications/blockchains/alfis/default.nix index 1a75357f40a30..690fdc7734d15 100644 --- a/pkgs/applications/blockchains/alfis/default.nix +++ b/pkgs/applications/blockchains/alfis/default.nix @@ -1,15 +1,16 @@ -{ stdenv -, lib -, rustPlatform -, fetchFromGitHub -, pkg-config -, makeWrapper -, webkitgtk -, zenity -, Cocoa -, Security -, WebKit -, withGui ? true +{ + stdenv, + lib, + rustPlatform, + fetchFromGitHub, + pkg-config, + makeWrapper, + webkitgtk, + zenity, + Cocoa, + Security, + WebKit, + withGui ? true, }: rustPlatform.buildRustPackage rec { @@ -32,15 +33,20 @@ rustPlatform.buildRustPackage rec { }; }; - nativeBuildInputs = [ pkg-config makeWrapper ]; - buildInputs = lib.optional stdenv.isDarwin Security + nativeBuildInputs = [ + pkg-config + makeWrapper + ]; + buildInputs = + lib.optional stdenv.isDarwin Security ++ lib.optional (withGui && stdenv.isLinux) webkitgtk - ++ lib.optionals (withGui && stdenv.isDarwin) [ Cocoa WebKit ]; + ++ lib.optionals (withGui && stdenv.isDarwin) [ + Cocoa + WebKit + ]; buildNoDefaultFeatures = true; - buildFeatures = [ - "doh" - ] ++ lib.optional withGui "webgui"; + buildFeatures = [ "doh" ] ++ lib.optional withGui "webgui"; checkFlags = [ # these want internet access, disable them |