summaryrefslogtreecommitdiff
path: root/doc/languages-frameworks/dotnet.section.md (follow)
Commit message (Expand)AuthorAgeFilesLines
* doc: fix typosBen Siraphob2025-08-271-4/+4
* treewide: run treefmt with mdcr/nixfmtWolfgang Walther2025-07-241-4/+4
* doc: update Nix code snippets format•••Command: `mdcr --config doc/tests/mdcr-config.toml doc/` Pol Dellaiera2025-04-171-10/+21
* addNuGetDeps: support loading JSON lockfiles•••In addition to loading nix lockfiles Matt Sturgeon2024-12-171-21/+44
* doc/dotnet: bump .NET versions from 6, 7 to 8, 9Gutyina Gergő2024-12-021-17/+23
* docs/dotnet.section.md: fix accidentally localized example outputWolfgang Walther2024-11-171-1/+1
* doc/languages-frameworks/dotnet: improve documenation of fetch-depsDavid McFarland2024-09-171-1/+1
* buildDotnetModule: use individual dependencies for nugetDepsDavid McFarland2024-09-061-1/+1
* buildDotnetModule: add `testFilters` arg•••In addition to the existing `disabledTests`, allow defining more general test filters using `testFilters`. Matt Sturgeon2024-08-221-0/+1
* dotnet: use unpacked nuget packagesDavid McFarland2024-07-311-4/+4
* doc/dotnet: document SRI hash support in dotnet packagealeksana2024-07-041-11/+11
* Merge pull request #322184 from YoshiRulz/dotnet-docs•••doc: Update note under `buildDotnetModule` to reflect actual behaviouréclairevoyant2024-06-261-6/+9
|\
| * doc: Update note under `buildDotnetModule` to reflect actual behaviourYoshiRulz2024-06-261-6/+9
* | buildDotnetModule: fix cross-compilation and remove dotnet-test-sdk•••This change fixes cross-compilation for .NET packages (that are not using .sln as project files). See relevant comment in the change list for more details. In addition to that, it removes dotnet-test-sdk that appears to be broken, that is, dotnet --list-sdks does not recognize SDKs from PATH, and when propagated from the check hook it was shadowed by inputs from preceding hooks. Note that dotnet-test-sdk used to work when it was introduced in PR 144062, but PR 155257 probably overlooked this case. However, currently it is not used in Nixpkgs and I think dotnetCorePackages.combinePackages should cover the intended use case for dotnet-test-sdk. Ivan Trubach2024-05-221-1/+0
* | treewide: Fix all Nix ASTs in all markdown files•••This allows for correct highlighting and maybe future automatic formatting. The AST was verified to work with nixfmt only. Janne Heß2024-03-281-1/+1
* | treewide: Mark Nix blocks in markdown as Nix•••This should help us with highlighting and future formatting. Janne Heß2024-03-281-1/+1
|/
* Nix docs: remove `with lib;` from example code•••Following [Best Practices](https://nix.dev/guides/best-practices#with-scopes), `with` is a problematic language construction and should be avoided. Usually it is employed like a "factorization": `[ X.A X.B X.C X.D ]` is written `with X; [ A B C D ]`. However, as shown in the link above, the syntatical rules of `with` are not so intuitive, and this "distributive rule" is very selective, in the sense that `with X; [ A B C D ]` is not equivalent to `[ X.A X.B X.C X.D ]`. However, this factorization is still useful to "squeeze" some code, especially in lists like `meta.maintainers`. On the other hand, it becomes less justifiable in bigger scopes. This is especially true in cases like `with lib;` in the top of expression and in sets like `meta = with lib; { . . . }`. That being said, this patch removes most of example code in the current documentation. The exceptions are, for now - doc/functions/generators.section.md - doc/languages-frameworks/coq.section.md because, well, they are way more complicated, and I couldn't parse them mentally - yet another reason why `with` should be avoided! Anderson Torres2024-03-061-3/+3
* doc: clarify usage of nuget-to-nix in dotnet.section.md•••I believe it would be helpful to better explain how to use `nuget-to-nix` for those who aren't familar with the .NET ecosystem as I was personally stumped on how to use it. lychee2024-02-041-2/+46
* doc: Fix typo in dotnet.section.md (#282685)•••It should be `dotnetCorePackages.sdk_6_0`, not `dotnetCorePackages.sdk_6.0`Sam2024-01-251-1/+1
* buildDotnetModule: make docs more clear on how to generate nugetDeps for the ...mdarocha2023-09-301-1/+3
* treewide: Fix typosPeder Bergebakken Sundt2023-09-281-1/+1
* maintainers: add dotnet teammdarocha2023-08-161-0/+2
* buildDotnetModule: make fetch-deps find output path automaticallyDavid McFarland2023-06-241-1/+1
* buildDotnetModule: pass runtimeId whenever possible and disable trimming when...•••This fixes up some build errors mdarocha2023-06-211-3/+3
* buildDotnetGlobalTool: document dotnet global tools and their packagingmdarocha2023-06-201-0/+57
* buildDotnetModule: add useDotnetFromEnv option•••This causes an alternative wrapper to be used, that takes the dotnet runtime from the environment. mdarocha2023-06-201-0/+2
* dotnet-sdk_3: remove•••Also remove all reference to outdated .NET versions. mdarocha2023-03-261-21/+42
* buildDotnetModule: add support for using combinePackages as dotnet-sdk•••This allows packages that require several dotnet versions to build (like BeatSaberModManager) to properly depend on the dotnet-sdk specific deps. This in turns avoids having to regenerate the deps of those packages after each dotnet-sdk update. This also changes nuget-to-nix to accept a file with a list of exclusions instead of a folder. mdarocha2023-03-191-1/+1
* dotnet-sdk_5: remove package•••It's EOL and not used in nixpkgs anymore mdarocha2023-01-231-3/+3
* build-dotnet-module: restore for current runtime by defaultDavid McFarland2022-12-191-1/+0
* buildDotnetModule: move nugetDeps throw to when its actually needed•••Previously we had an assert that would complain when nugetDeps wasnt set, which also didnt allow any passthru attributes (like fetch-deps) to be build. That causes a cycle where you need nugetDeps to fetch the nuget deps, but arent able to build the script to do so. Ivar Scholten2022-09-181-2/+2
* buildDotnetModule: dont require specifing a projectFile•••In a lot of cases dotnet can figure this out by itself, so we can just invoke it without the project argument. Ivar Scholten2022-09-181-1/+1
* buildDotnetModule: add documentation about selfContained flagmdarocha2022-07-261-0/+1
* buildDotnetModule: allow passing derivations to nugetDeps•••Sometimes I want to pass a different implementation of `mkNugetDeps`. For example in private repos, it can be handy to use `__noChroot = true` and bypass the deps.nix generation altogether. Or some Nuget packages ship with ELF binaries that need to be patched, and that's best done as soon as possible. zimbatm2022-06-211-1/+1
* buildDotnetModule: wrap executables in preFixup•••Not doing this used to break wrapGAppsHook as gappsWrapperArgs is set in preFixup, but it was used in installPhase IvarWithoutBones2022-01-121-1/+1
* buildDotnetModule: restore and build testProjectFileIvarWithoutBones2021-12-201-1/+1
* buildDotnetModule: add passthru.fetch-depsIvarWithoutBones2021-12-141-2/+5
* buildDotnetModule: support local project referencesEvgeny Zemtsov2021-12-131-1/+14
* buildDotnetModule: support optional nupkg packingEvgeny Zemtsov2021-12-131-1/+5
* buildDotnetModule: support setting projectFile as an array && properly interp...IvarWithoutBones2021-11-211-1/+1
* buildDotnetModule: add support for running unit testsIvarWithoutBones2021-11-011-1/+5
* dotnet: cleanup; point dotnet-sdk alias to 5_0; remove unsupported SDKsPavol Rusnak2021-10-181-4/+3
* buildDotnetModule: add documentationIvarWithoutBones2021-10-061-2/+36
* doc: prepare for commonmark•••We are still using Pandoc’s Markdown parser, which differs from CommonMark spec slightly. Notably: - Line breaks in lists behave differently. - Admonitions do not support the simpler syntax https://github.com/jgm/commonmark-hs/issues/75 - The auto_identifiers uses a different algorithm – I made the previous ones explicit. - Languages (classes) of code blocks cannot contain whitespace so we have to use “pycon” alias instead of Python “console” as GitHub’s linguist While at it, I also fixed the following issues: - ShellSesssion was used - Removed some pointless docbook tags. Jan Tojnar2021-06-071-7/+7
* mkShell: introduce packages argument (#122180)•••The distinction between the inputs doesn't really make sense in the mkShell context. Technically speaking, we should be using the nativeBuildInputs most of the time. So in order to make this function more beginner-friendly, add "packages" as an attribute, that maps to nativeBuildInputs. This commit also updates all the uses in nixpkgs.Jonas Chevalier2021-05-131-2/+2
* doc/languages-frameworks/*: add missing languages to code fences•••convert shell -> ShellSession Sandro Jäckel2021-04-051-3/+3
* Remove repeating words from docFlorian Engel2021-03-141-1/+1
* dotnet: document new net packagesFelix Tenley2020-11-111-2/+2
* dotnet: add framework docJonathan Ringer2020-02-091-0/+75