Skip to content

Commit

Permalink
gdlv: Reformat with official formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
mmlb committed Sep 3, 2024
1 parent 4e2566e commit 8c0e76a
Showing 1 changed file with 20 additions and 13 deletions.
33 changes: 20 additions & 13 deletions pkgs/development/tools/gdlv/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
, Foundation
, CoreGraphics
, Metal
, AppKit
{
lib,
stdenv,
buildGoModule,
fetchFromGitHub,
Foundation,
CoreGraphics,
Metal,
AppKit,
}:

buildGoModule rec {
pname = "gdlv";
version = "1.10.0";
Expand All @@ -19,15 +19,22 @@ buildGoModule rec {
hash = "sha256-OPsQOFwV6jIX4ZOVwJmpTeQUr/zkfkqCr86HmPhYarI=";
};

preBuild = lib.optionalString (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "11.0") ''
export MACOSX_DEPLOYMENT_TARGET=10.15
'';
preBuild =
lib.optionalString (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "11.0")
''
export MACOSX_DEPLOYMENT_TARGET=10.15
'';

vendorHash = null;

subPackages = ".";

buildInputs = lib.optionals stdenv.isDarwin [ Foundation CoreGraphics Metal AppKit ];
buildInputs = lib.optionals stdenv.isDarwin [
Foundation
CoreGraphics
Metal
AppKit
];

meta = with lib; {
description = "GUI frontend for Delve";
Expand Down

0 comments on commit 8c0e76a

Please sign in to comment.