Skip to content

Commit

Permalink
clang-uml: nixfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Bot-wxt1221 committed Oct 21, 2024
1 parent 65b41d1 commit 133fa13
Showing 1 changed file with 31 additions and 24 deletions.
55 changes: 31 additions & 24 deletions pkgs/by-name/cl/clang-uml/package.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{ lib
, fetchFromGitHub
, stdenv
, cmake
, pkg-config
, installShellFiles
, libclang
, clang
, llvmPackages
, libllvm
, yaml-cpp
, elfutils
, libunwind
, enableLibcxx ? false
, debug ? false
,
{
lib,
fetchFromGitHub,
stdenv,
cmake,
pkg-config,
installShellFiles,
libclang,
clang,
llvmPackages,
libllvm,
yaml-cpp,
elfutils,
libunwind,
enableLibcxx ? false,
debug ? false,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "clang-uml";
Expand All @@ -26,14 +26,21 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-YzHlauVuFLT2PmfqJBNwqQ/P7d7tyl3brk7Vo/kTOF4=";
};

nativeBuildInputs = [
cmake
pkg-config
installShellFiles
] ++ (if debug then [
elfutils
libunwind
] else [ ]);
nativeBuildInputs =
[
cmake
pkg-config
installShellFiles
]
++ (
if debug then
[
elfutils
libunwind
]
else
[ ]
);

buildInputs = [
clang
Expand Down

0 comments on commit 133fa13

Please sign in to comment.