summaryrefslogtreecommitdiffstats
path: root/pkgs/misc/source-and-tags
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2021-01-21 10:55:55 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2021-01-21 13:29:54 +1000
commit932941b79c3dbbef2de9440e1631dfec43956261 (patch)
tree2143233842853662246d1b88a8a50797b98de69e /pkgs/misc/source-and-tags
parentfa2e1dd70a3cad3f018c5c29ca9bee429cdea9f6 (diff)
treewide: editorconfig fixes
- remove trailing whitespace - use spaces for indentation
Diffstat (limited to 'pkgs/misc/source-and-tags')
-rw-r--r--pkgs/misc/source-and-tags/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/misc/source-and-tags/default.nix b/pkgs/misc/source-and-tags/default.nix
index 7c082cbbbb0f..c82b96b82f95 100644
--- a/pkgs/misc/source-and-tags/default.nix
+++ b/pkgs/misc/source-and-tags/default.nix
@@ -1,6 +1,6 @@
{ stdenv, lib, glibcLocales, unzip, hasktags, ctags } : {
# optional srcDir
- annotatedWithSourceAndTagInfo = x : (x ? passthru && x.passthru ? sourceWithTags
+ annotatedWithSourceAndTagInfo = x : (x ? passthru && x.passthru ? sourceWithTags
|| x ? meta && x.meta ? sourceWithTags );
# hack because passthru doesn't work the way I'd expect. Don't have time to spend on this right now
# that's why I'm abusing meta for the same purpose in ghcsAndLibs
@@ -10,7 +10,7 @@
# createTagFiles = [ { name = "my_tag_name_without_suffix", tagCmd = "ctags -R . -o \$TAG_FILE"; } ]
# tag command must create file named $TAG_FILE
- sourceWithTagsDerivation = {name, src, srcDir ? ".", tagSuffix ? "_tags", createTagFiles ? []} :
+ sourceWithTagsDerivation = {name, src, srcDir ? ".", tagSuffix ? "_tags", createTagFiles ? []} :
stdenv.mkDerivation {
phases = "unpackPhase buildPhase";
inherit src srcDir tagSuffix;
@@ -72,7 +72,7 @@
addCTaggingInfo = deriv :
- deriv // {
+ deriv // {
passthru = {
sourceWithTags = {
inherit (deriv) src;