Nix expr: Set up Kate with OmniSharp
This commit is contained in:
parent
97dc7108c3
commit
8055cd1343
10
default.nix
10
default.nix
|
@ -38,6 +38,12 @@ in {
|
||||||
, git ? pkgs.gitMinimal # only when building from-CWD (`-local`)
|
, git ? pkgs.gitMinimal # only when building from-CWD (`-local`)
|
||||||
# rundeps
|
# rundeps
|
||||||
, coreutils ? pkgs.coreutils
|
, coreutils ? pkgs.coreutils
|
||||||
|
, kate ? pkgs.kate.overrideAttrs (oldAttrs: {
|
||||||
|
patches = (oldAttrs.patches or []) ++ [ (fetchpatch {
|
||||||
|
url = "https://invent.kde.org/utilities/kate/-/commit/9ddf4f0c9eb3c26a0ab33c862d2b161bcbdc6a6e.patch"; # Fix name of OmniSharp LSP binary
|
||||||
|
hash = "sha256-a2KqoxuuVhfAQUJA3/yEQb1QCoa1JCvLz7BZZnSLnzI=";
|
||||||
|
}) ];
|
||||||
|
})
|
||||||
, libgdiplus ? pkgs.libgdiplus
|
, libgdiplus ? pkgs.libgdiplus
|
||||||
, libGL ? pkgs.libGL
|
, libGL ? pkgs.libGL
|
||||||
, lua ? pkgs.lua54Packages.lua
|
, lua ? pkgs.lua54Packages.lua
|
||||||
|
@ -47,6 +53,7 @@ in {
|
||||||
hash = "sha512-GvV707ftLvE0MCTfMJb/M86S2Nxf3vai+HPwq0QvJylmMBwliqYx/nW8X2ja2ruOHzaw3MXXmAxjnv5MMUn07w==";
|
hash = "sha512-GvV707ftLvE0MCTfMJb/M86S2Nxf3vai+HPwq0QvJylmMBwliqYx/nW8X2ja2ruOHzaw3MXXmAxjnv5MMUn07w==";
|
||||||
}) { inherit system; })
|
}) { inherit system; })
|
||||||
, nixGL ? nixGLChannel.auto.nixGLDefault
|
, nixGL ? nixGLChannel.auto.nixGLDefault
|
||||||
|
, omnisharp-roslyn ? pkgs.omnisharp-roslyn
|
||||||
#, nixVulkan ? nixGLChannel.auto.nixVulkanNvidia
|
#, nixVulkan ? nixGLChannel.auto.nixVulkanNvidia
|
||||||
, openal ? pkgs.openal
|
, openal ? pkgs.openal
|
||||||
, SDL2 ? pkgs.SDL2
|
, SDL2 ? pkgs.SDL2
|
||||||
|
@ -172,6 +179,9 @@ in {
|
||||||
bizhawkAssemblies = asmsFromReleaseArtifacts."bizhawkAssemblies-${latestVersionFrag}-bin";
|
bizhawkAssemblies = asmsFromReleaseArtifacts."bizhawkAssemblies-${latestVersionFrag}-bin";
|
||||||
};
|
};
|
||||||
emuhawk = emuhawk-local;
|
emuhawk = emuhawk-local;
|
||||||
|
IDEs = {
|
||||||
|
kate = [ kate omnisharp-roslyn ];
|
||||||
|
};
|
||||||
launchScriptsForLocalBuild = launchScriptsFor emuhawk-local.assemblies true;
|
launchScriptsForLocalBuild = launchScriptsFor emuhawk-local.assemblies true;
|
||||||
};
|
};
|
||||||
in combined // lib.listToAttrs (lib.concatLists (builtins.map
|
in combined // lib.listToAttrs (lib.concatLists (builtins.map
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
f = drv: mkShell {
|
f = drv: mkShell {
|
||||||
packages = [ git powershell ]
|
packages = [ git powershell ]
|
||||||
++ lib.optionals useNanoAndCola [ git-cola nano ]
|
++ lib.optionals useNanoAndCola [ git-cola nano ]
|
||||||
++ lib.optionals useKate [] #TODO
|
++ lib.optionals useKate avail.IDEs.kate
|
||||||
++ lib.optionals useVSCode [] #TODO https://devblogs.microsoft.com/dotnet/csharp-dev-kit-now-generally-available/ https://learn.microsoft.com/en-us/training/modules/implement-visual-studio-code-debugging-tools/
|
++ lib.optionals useVSCode [] #TODO https://devblogs.microsoft.com/dotnet/csharp-dev-kit-now-generally-available/ https://learn.microsoft.com/en-us/training/modules/implement-visual-studio-code-debugging-tools/
|
||||||
;
|
;
|
||||||
inputsFrom = [ drv ];
|
inputsFrom = [ drv ];
|
||||||
|
|
Loading…
Reference in New Issue