Skip to content

Commit

Permalink
emacsPackages.notdeft: format using nixfmt-rfc-style
Browse files Browse the repository at this point in the history
  • Loading branch information
jian-lin committed Jul 17, 2024
1 parent 31be871 commit 840872a
Showing 1 changed file with 19 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{ lib
, stdenv
, melpaBuild
, fetchFromGitHub
, hydra
, ivy
, pkg-config
, tclap
, xapian
{
lib,
stdenv,
melpaBuild,
fetchFromGitHub,
hydra,
ivy,
pkg-config,
tclap,
xapian,
# Include pre-configured hydras
, withHydra ? false
withHydra ? false,
# Include Ivy integration
, withIvy ? false
withIvy ? false,
}:

let
Expand All @@ -31,7 +32,11 @@ let

sourceRoot = "${src.name}/xapian";

nativeBuildInputs = [ pkg-config tclap xapian ];
nativeBuildInputs = [
pkg-config
tclap
xapian
];

installPhase = ''
runHook preInstall
Expand All @@ -45,8 +50,8 @@ let
in
melpaBuild {
inherit pname version src;
packageRequires = lib.optional withHydra hydra
++ lib.optional withIvy ivy;

packageRequires = lib.optional withHydra hydra ++ lib.optional withIvy ivy;

postPatch = ''
substituteInPlace notdeft-xapian.el \
Expand Down

0 comments on commit 840872a

Please sign in to comment.