Skip to content

Commit

Permalink
treewide: manual fixes of lsp failures
Browse files Browse the repository at this point in the history
Signed-off-by: lucasew <[email protected]>
  • Loading branch information
lucasew committed Jan 7, 2025
1 parent 04ddf07 commit d737646
Show file tree
Hide file tree
Showing 824 changed files with 1,156 additions and 1,177 deletions.
2 changes: 1 addition & 1 deletion pkgs/applications/audio/dfasma/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ mkDerivation rec {
'';
homepage = "https://gillesdegottex.gitlab.io/dfasma-website/";
license = [
licenses.gpl3Plus
lib.licenses.gpl3Plus
reaperFork.meta.license
];
platforms = lib.platforms.linux;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/audio/easyaudiosync/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/complexlogic/EasyAudioSync";
license = lib.licenses.unlicense;
maintainers = with lib.maintainers; [ matteopacini ];
platforms = lib.platforms.linux ++ platforms.darwin;
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/audio/fluidsynth/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ stdenv.mkDerivation rec {
meta = {
description = "Real-time software synthesizer based on the SoundFont 2 specifications";
homepage = "https://www.fluidsynth.org";
license = licenses.lgpl21Plus;
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ lovek323 ];
platforms = platforms.unix;
platforms = lib.platforms.unix;
mainProgram = "fluidsynth";
};
}
8 changes: 4 additions & 4 deletions pkgs/applications/audio/minidsp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ rustPlatform.buildRustPackage rec {
description = "Control interface for some MiniDSP products";
homepage = "https://github.com/mrene/minidsp-rs";
license = lib.licenses.asl20;
platforms = lib.platforms.linux ++ platforms.darwin;
maintainers = [
maintainers.adamcstephens
maintainers.mrene
platforms = lib.platforms.linux ++ lib.platforms.darwin;
maintainers = with lib.maintainers; [
adamcstephens
mrene
];
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/audio/mopidy/podcast.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ python3Packages.buildPythonApplication rec {
description = "Mopidy extension for browsing and playing podcasts";
license = lib.licenses.asl20;
maintainers = [
maintainers.daneads
lib.maintainers.daneads
];
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/audio/noson/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ stdenv.mkDerivation (finalAttrs: {
description = "SONOS controller for Linux (and macOS)";
homepage = "https://janbar.github.io/noson-app/";
mainProgram = "noson-app";
platforms = lib.platforms.linux ++ platforms.darwin;
license = [ licenses.gpl3Only ];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
license = [ lib.licenses.gpl3Only ];
maintainers = with lib.maintainers; [ callahad ];
};
})
2 changes: 1 addition & 1 deletion pkgs/applications/audio/puredata/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
description = ''A real-time graphical programming environment for audio, video, and graphical processing'';
homepage = "http://puredata.info";
license = lib.licenses.bsd3;
platforms = lib.platforms.linux ++ platforms.darwin;
platforms = lib.platforms.linux ++ lib.platforms.darwin;
maintainers = with lib.maintainers; [ carlthome ];
mainProgram = "pd";
changelog = "https://msp.puredata.info/Pd_documentation/x5.htm#s1";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/audio/snapcast/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
description = "Synchronous multi-room audio player";
homepage = "https://github.com/badaix/snapcast";
maintainers = with lib.maintainers; [ fpletz ];
platforms = lib.platforms.linux ++ platforms.darwin;
platforms = lib.platforms.linux ++ lib.platforms.darwin;
license = lib.licenses.gpl3Plus;
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/blockchains/polkadot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ rustPlatform.buildRustPackage rec {
RaghavSood
];
# See Iso::from_arch in src/isa/mod.rs in cranelift-codegen-meta.
platforms = intersectLists platforms.unix (
platforms.aarch64 ++ platforms.s390x ++ platforms.riscv64 ++ platforms.x86
platforms = lib.intersectLists lib.platforms.unix (
lib.platforms.aarch64 ++ lib.platforms.s390x ++ lib.platforms.riscv64 ++ lib.platforms.x86
);
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/editors/standardnotes/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let

in

stdenv.mkDerivation rec {
stdenv.mkDerivation {

pname = "standardnotes";

Expand Down Expand Up @@ -91,7 +91,7 @@ stdenv.mkDerivation rec {
chuangzhu
squalus
];
sourceProvenance = [ sourceTypes.binaryNativeCode ];
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
platforms = builtins.attrNames srcjson.deb;
mainProgram = "standardnotes";
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
}:

let
inherit (vimPlugins) nvim-treesitter;
inherit (pkgs.vimPlugins) nvim-treesitter;

neovim = pkgs.neovim.override {
configure.packages.all.start = [ nvim-treesitter ];
};
in

mkShell {
packages = [
pkgs.mkShell {
packages = with pkgs; [
neovim
nurl
python3
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/ImageMagick/6.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ stdenv.mkDerivation (finalAttrs: {
"ImageMagick"
"MagickWand"
];
platforms = lib.platforms.linux ++ platforms.darwin;
platforms = lib.platforms.linux ++ lib.platforms.darwin;
maintainers = [ ];
license = lib.licenses.asl20;
knownVulnerabilities = [
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/ImageMagick/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ stdenv.mkDerivation (finalAttrs: {
changelog = "https://github.com/ImageMagick/Website/blob/main/ChangeLog.md";
description = "Software suite to create, edit, compose, or convert bitmap images";
pkgConfigModules = [ "ImageMagick" "MagickWand" ];
platforms = lib.platforms.linux ++ platforms.darwin;
platforms = lib.platforms.linux ++ lib.platforms.darwin;
maintainers = with lib.maintainers; [ dotlambda rhendric bloxx12 ];
license = lib.licenses.asl20;
mainProgram = "magick";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/drawio/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ stdenv.mkDerivation rec {
license = lib.licenses.unfree;
changelog = "https://github.com/jgraph/drawio-desktop/releases/tag/v${version}";
maintainers = with lib.maintainers; [ darkonion0 ];
platforms = lib.platforms.darwin ++ platforms.linux;
platforms = lib.platforms.darwin ++ lib.platforms.linux;
mainProgram = "drawio";
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/fstl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ mkDerivation rec {
mainProgram = "fstl";
homepage = "https://github.com/fstl-app/fstl";
license = lib.licenses.mit;
platforms = lib.platforms.linux ++ platforms.darwin;
platforms = lib.platforms.linux ++ lib.platforms.darwin;
maintainers = with lib.maintainers; [ tweber ];
};
}
6 changes: 3 additions & 3 deletions pkgs/applications/graphics/vengi-tools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ stdenv.mkDerivation (finalAttrs: {
'';
homepage = "https://mgerhardy.github.io/vengi/";
downloadPage = "https://github.com/mgerhardy/vengi/releases";
license = [
licenses.mit
licenses.cc-by-sa-30
license = with lib.licenses; [
mit
cc-by-sa-30
];
maintainers = with lib.maintainers; [ fgaz ];
platforms = lib.platforms.all;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/kde/ark/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ mkDerivation {
description = "Graphical file compression/decompression utility";
mainProgram = "ark";
license =
with licenses;
with lib.licenses;
[
gpl2
lgpl3
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/kde/kdevelop/kdev-php.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ mkDerivation rec {
platforms = lib.platforms.linux;
description = "PHP support for KDevelop";
homepage = "https://www.kdevelop.org";
license = [ licenses.gpl2 ];
license = [ lib.licenses.gpl2 ];
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/kde/kdevelop/kdev-python.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let
# https://invent.kde.org/kdevelop/kdev-python/-/merge_requests/16
python = python39;
in
mkDerivation rec {
mkDerivation {
pname = "kdev-python";

cmakeFlags = [
Expand All @@ -37,6 +37,6 @@ mkDerivation rec {
platforms = lib.platforms.linux;
description = "Python support for KDevelop";
homepage = "https://www.kdevelop.org";
license = [ licenses.gpl2 ];
license = [ lib.licenses.gpl2 ];
};
}
6 changes: 3 additions & 3 deletions pkgs/applications/kde/koko.nix
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ mkDerivation rec {
mainProgram = "koko";
homepage = "https://apps.kde.org/koko/";
# LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
license = [
licenses.lgpl3Only
licenses.lgpl21Only
license = with lib.licenses; [
lgpl3Only
lgpl21Only
];
maintainers = [ ];
};
Expand Down
10 changes: 6 additions & 4 deletions pkgs/applications/kde/kpublictransport.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@

mkDerivation {
pname = "kpublictransport";
meta = {
license = [ licenses.cc0 ];
maintainers = [ ];
};

nativeBuildInputs = [ extra-cmake-modules ];

buildInputs = [
qtquickcontrols2
networkmanager-qt
ki18n
];

meta = {
license = [ lib.licenses.cc0 ];
maintainers = [ ];
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/misc/audio/sox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ stdenv.mkDerivation rec {
description = "Sample Rate Converter for audio";
homepage = "https://sox.sourceforge.net/";
maintainers = with lib.maintainers; [ marcweber ];
license = if enableAMR then licenses.unfree else licenses.gpl2Plus;
license = if enableAMR then lib.licenses.unfree else lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/misc/flashprint/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ stdenv.mkDerivation (finalAttrs: {
mainProgram = "flashprint";
maintainers = [ lib.maintainers.ianliu ];
platforms = [ "x86_64-linux" ];
sourceProvenance = [ sourceTypes.binaryNativeCode ];
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
};
})
2 changes: 1 addition & 1 deletion pkgs/applications/misc/keepassxc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,6 @@ stdenv.mkDerivation rec {
blankparticle
sigmasquadron
];
platforms = lib.platforms.linux ++ platforms.darwin;
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/misc/kemai/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/AlexandrePTJ/kemai";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ poelzi ];
platforms = platforms.unix;
platforms = lib.platforms.unix;
broken = stdenv.hostPlatform.isDarwin;
mainProgram = "Kemai";
};
Expand Down
8 changes: 4 additions & 4 deletions pkgs/applications/misc/pe-bear/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ stdenv.mkDerivation rec {
mainProgram = "PE-bear";
homepage = "https://hshrzd.wordpress.com/pe-bear/";

license = [
license = with lib.licenses; [
# PE-Bear
licenses.gpl2Only
gpl2Only

# Vendored capstone
licenses.bsd3
bsd3

# Vendored bearparser
licenses.bsd2
bsd2
];

maintainers = with lib.maintainers; [ blitz ];
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/misc/syncthingtray/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,6 @@ stdenv.mkDerivation (finalAttrs: {
description = "Tray application and Dolphin/Plasma integration for Syncthing";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ doronbehar ];
platforms = lib.platforms.linux ++ platforms.darwin;
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
})
4 changes: 2 additions & 2 deletions pkgs/applications/networking/browsers/palemoon/bin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ stdenv.mkDerivation (finalAttrs: {
];

desktopItems = [
(makeDesktopItem rec {
(makeDesktopItem {
name = "palemoon-bin";
desktopName = "Pale Moon Web Browser";
comment = "Browse the World Wide Web";
Expand Down Expand Up @@ -219,7 +219,7 @@ stdenv.mkDerivation (finalAttrs: {
'';
changelog = "https://repo.palemoon.org/MoonchildProductions/Pale-Moon/releases/tag/${finalAttrs.version}_Release";
license = [
licenses.mpl20
lib.licenses.mpl20
{
fullName = "Pale Moon Redistribution License";
url = "https://www.palemoon.org/redist.shtml";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/networking/browsers/vivaldi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ in stdenv.mkDerivation rec {
meta = {
description = "Browser for our Friends, powerful and personal";
homepage = "https://vivaldi.com";
license = licenses.unfree;
license = lib.licenses.unfree;
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
mainProgram = "vivaldi";
maintainers = with lib.maintainers; [ otwieracz badmutex ];
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/networking/cloudflared/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ buildGoModule rec {
homepage = "https://www.cloudflare.com/products/tunnel";
changelog = "https://github.com/cloudflare/cloudflared/releases/tag/${version}";
license = lib.licenses.asl20;
platforms = lib.platforms.unix ++ platforms.windows;
platforms = lib.platforms.unix ++ lib.platforms.windows;
maintainers = with lib.maintainers; [ bbigras enorris thoughtpolice piperswe qjoly ];
mainProgram = "cloudflared";
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ stdenv.mkDerivation (finalAttrs: {
'';

maintainers = with lib.maintainers; [ illustris ];
platforms = filter (strings.hasSuffix "linux") (attrNames platformAttrs);
platforms = lib.filter (lib.strings.hasSuffix "linux") (lib.attrNames platformAttrs);
};
})
2 changes: 1 addition & 1 deletion pkgs/applications/networking/cluster/tubekit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ buildGoModule rec {
mainProgram = "tubectl";
homepage = "https://github.com/reconquest/tubekit";
license = lib.licenses.mit;
platforms = lib.platforms.linux ++ platforms.darwin;
platforms = lib.platforms.linux ++ lib.platforms.darwin;
maintainers = with lib.maintainers; [ farcaller ];
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/networking/dropbox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ buildFHSEnv {
meta = {
description = "Online stored folders (daemon version)";
homepage = "http://www.dropbox.com/";
license = licenses.unfree;
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ ttuegel ];
platforms = [ "i686-linux" "x86_64-linux" ];
mainProgram = "dropbox";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ stdenv.mkDerivation rec {
lassulus
pSub
];
platforms = lib.platforms.gnu ++ platforms.linux; # arbitrary choice
platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ stdenv.mkDerivation (finalAttrs: {
mainProgram = "dino";
homepage = "https://github.com/dino/dino";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux ++ platforms.darwin;
platforms = lib.platforms.linux ++ lib.platforms.darwin;
maintainers = with lib.maintainers; [ qyliss tomfitzhenry ];
};
})
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = {
description = "Mail indexer";
homepage = "https://notmuchmail.org/";
changelog = "https://git.notmuchmail.org/git?p=notmuch;a=blob_plain;f=NEWS;hb=${version}";
changelog = "https://git.notmuchmail.org/git?p=notmuch;a=blob_plain;f=NEWS;hb=${finalAttrs.version}";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [
flokli
Expand Down
Loading

0 comments on commit d737646

Please sign in to comment.