+36
-2
doc/languages-frameworks/dotnet.section.md
+36
-2
doc/languages-frameworks/dotnet.section.md
···+To package Dotnet applications, you can use `buildDotnetModule`. This has similar arguments to `stdenv.mkDerivation`, with the following additions:+* `projectFile` has to be used for specifying the dotnet project file relative to the source root. These usually have `.sln` or `.csproj` file extensions.+* `nugetDeps` has to be used to specify the NuGet dependency file. Unfortunately, these cannot be deterministically fetched without a lockfile. This file should be generated using `nuget-to-nix` tool, which is available in nixpkgs.+* `executables` is used to specify which executables get wrapped to `$out/bin`, relative to `$out/lib/$pname`. If this is unset, all executables generated will get installed. If you do not want to install any, set this to `[]`.+* `runtimeDeps` is used to wrap libraries into `LD_LIBRARY_PATH`. This is how dotnet usually handles runtime dependencies.+* `buildType` is used to change the type of build. Possible values are `Release`, `Debug`, etc. By default, this is set to `Release`.+* `dotnet-runtime` is useful in cases where you need to change what dotnet runtime is being used.
+1
doc/languages-frameworks/index.xml
+1
doc/languages-frameworks/index.xml
···
+6
-3
nixos/modules/services/monitoring/teamviewer.nix
+6
-3
nixos/modules/services/monitoring/teamviewer.nix
···
···
+3
-3
pkgs/applications/blockchains/lightning-pool/default.nix
+3
-3
pkgs/applications/blockchains/lightning-pool/default.nix
···
···
+3
-3
pkgs/applications/misc/toot/default.nix
+3
-3
pkgs/applications/misc/toot/default.nix
···
···
+2
-2
pkgs/applications/networking/p2p/freenet/default.nix
+2
-2
pkgs/applications/networking/p2p/freenet/default.nix
······
······
+40
-12
pkgs/applications/networking/remote/teamviewer/default.nix
+40
-12
pkgs/applications/networking/remote/teamviewer/default.nix
·········$out/share/teamviewer/tv_bin/script/{teamviewer_setup,teamviewerd.sysv,teamviewerd.service,teamviewerd.*.conf,libdepend,tv-delayed-start.sh}······-wrapProgram $out/share/teamviewer/tv_bin/script/teamviewer --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 ]}"-wrapProgram $out/share/teamviewer/tv_bin/teamviewerd --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 ]}"-wrapProgram $out/share/teamviewer/tv_bin/TeamViewer --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 ]}"-wrapProgram $out/share/teamviewer/tv_bin/TeamViewer_Desktop --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [libXrandr libX11 libXext libXdamage libXtst libSM libXfixes ]}"···
·········$out/share/teamviewer/tv_bin/script/{teamviewer_setup,teamviewerd.sysv,teamviewerd.service,teamviewerd.*.conf,libdepend,tv-delayed-start.sh}···+install -m 644 "$in_script_dir/com.teamviewer.TeamViewer.Desktop.service" "$out/share/dbus-1/services"+install -m 644 "$in_script_dir/com.teamviewer.TeamViewer.Daemon.conf" "$out/share/dbus-1/system.d"···+"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libXrandr libX11 libXext libXdamage libXtst libSM libXfixes dbus ]}"+wrapProgram $out/share/teamviewer/tv_bin/script/teamviewer ''${makeWrapperArgs[@]} ''${qtWrapperArgs[@]}+wrapProgram $out/share/teamviewer/tv_bin/teamviewer-config ''${makeWrapperArgs[@]} ''${qtWrapperArgs[@]}+wrapProgram $out/share/teamviewer/tv_bin/TeamViewer_Desktop ''${makeWrapperArgs[@]} ''${qtWrapperArgs[@]}···
+2
-2
pkgs/applications/science/logic/alt-ergo/default.nix
+2
-2
pkgs/applications/science/logic/alt-ergo/default.nix
+6
-12
pkgs/applications/window-managers/cagebreak/default.nix
+6
-12
pkgs/applications/window-managers/cagebreak/default.nix
······-url = "https://github.com/project-repo/cagebreak/commit/d57869d43add58331386fc8e89c14bb2b74afe17.patch";···
·········
+144
pkgs/build-support/build-dotnet-module/default.nix
+144
pkgs/build-support/build-dotnet-module/default.nix
···
···+{ lib, stdenv, makeWrapper, dotnetCorePackages, dotnetPackages, cacert, linkFarmFromDrvs, fetchurl }:+# The binaries that should get installed to `$out/bin`, relative to `$out/lib/$pname/`. These get wrapped accordingly.+# The NuGet dependency file. This locks all NuGet dependency versions, as otherwise they cannot be deterministically fetched.+# The type of build to perform. This is passed to `dotnet` with the `--configuration` flag. Possible values are `Release`, `Debug`, etc.+assert projectFile == null -> throw "Defining the `projectFile` attribute is required. This is usually an `.csproj`, or `.sln` file.";+# This file is unfortunately almost never present, as Microsoft recommands not to push this in upstream repositories.+assert nugetDeps == null -> throw "Defining the `nugetDeps` attribute is required, as to lock the NuGet dependencies. This file can be generated using the `nuget-to-nix` tool.";+nativeBuildInputs = args.nativeBuildInputs or [] ++ [ dotnet-sdk dotnetPackages.Nuget cacert makeWrapper ];
+2
-2
pkgs/desktops/xfce/applications/catfish/default.nix
+2
-2
pkgs/desktops/xfce/applications/catfish/default.nix
···url = "https://archive.xfce.org/src/apps/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
···url = "https://archive.xfce.org/src/apps/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
+2
-2
pkgs/desktops/xfce/applications/mousepad/default.nix
+2
-2
pkgs/desktops/xfce/applications/mousepad/default.nix
+2
-2
pkgs/desktops/xfce/core/libxfce4ui/default.nix
+2
-2
pkgs/desktops/xfce/core/libxfce4ui/default.nix
+2
-1
pkgs/development/libraries/nanopb/default.nix
+2
-1
pkgs/development/libraries/nanopb/default.nix
······
······
+14
-1
pkgs/development/python-modules/cloudsplaining/default.nix
+14
-1
pkgs/development/python-modules/cloudsplaining/default.nix
······
······
+50
pkgs/development/python-modules/crownstone-cloud/default.nix
+50
pkgs/development/python-modules/crownstone-cloud/default.nix
···
···
+41
pkgs/development/python-modules/crownstone-core/default.nix
+41
pkgs/development/python-modules/crownstone-core/default.nix
···
···+description = "Python module with shared classes, util functions and definition of Crownstone";
+44
pkgs/development/python-modules/crownstone-sse/default.nix
+44
pkgs/development/python-modules/crownstone-sse/default.nix
···
···
+41
pkgs/development/python-modules/crownstone-uart/default.nix
+41
pkgs/development/python-modules/crownstone-uart/default.nix
···
···
+2
-2
pkgs/development/python-modules/mypy-boto3-s3/default.nix
+2
-2
pkgs/development/python-modules/mypy-boto3-s3/default.nix
+6
-9
pkgs/development/python-modules/ospd/default.nix
+6
-9
pkgs/development/python-modules/ospd/default.nix
············
············
+2
-2
pkgs/development/python-modules/policy-sentry/default.nix
+2
-2
pkgs/development/python-modules/policy-sentry/default.nix
···
···
+2
-2
pkgs/development/python-modules/pooch/default.nix
+2
-2
pkgs/development/python-modules/pooch/default.nix
+2
-2
pkgs/development/python-modules/python-lsp-server/default.nix
+2
-2
pkgs/development/python-modules/python-lsp-server/default.nix
···
···
+41
pkgs/development/python-modules/rangehttpserver/default.nix
+41
pkgs/development/python-modules/rangehttpserver/default.nix
···
···
+28
-17
pkgs/development/python-modules/rxv/default.nix
+28
-17
pkgs/development/python-modules/rxv/default.nix
···
···
+2
-2
pkgs/development/python-modules/scikit-optimize/default.nix
+2
-2
pkgs/development/python-modules/scikit-optimize/default.nix
···
···
+12
-6
pkgs/development/python-modules/simple-rest-client/default.nix
+12
-6
pkgs/development/python-modules/simple-rest-client/default.nix
············
············
+18
-6
pkgs/misc/drivers/xboxdrv/default.nix
+18
-6
pkgs/misc/drivers/xboxdrv/default.nix
···
···
+22
-70
pkgs/misc/emulators/ryujinx/default.nix
+22
-70
pkgs/misc/emulators/ryujinx/default.nix
···version = "1.0.7058"; # Versioning is based off of the official appveyor builds: https://ci.appveyor.com/project/gdkchan/ryujinx···-nativeBuildInputs = [ dotnet-sdk_5 dotnetPackages.Nuget cacert makeWrapper wrapGAppsHook gobject-introspection gdk-pixbuf ];./log.patch # Without this, Ryujinx attempts to write logs to the nix store. This patch makes it write to "~/.config/Ryujinx/Logs" on Linux.---suffix LD_LIBRARY_PATH : "${builtins.concatStringsSep ":" [ (lib.makeLibraryPath runtimeDeps) "$out/lib/sndio-6" ]}" \install -D ${src}/Ryujinx/Ui/Resources/Logo_Ryujinx.png $out/share/icons/hicolor/''${i}x$i/apps/ryujinx.png···
···version = "1.0.7058"; # Versioning is based off of the official appveyor builds: https://ci.appveyor.com/project/gdkchan/ryujinx···./log.patch # Without this, Ryujinx attempts to write logs to the nix store. This patch makes it write to "~/.config/Ryujinx/Logs" on Linux.install -D ${src}/Ryujinx/Ui/Resources/Logo_Ryujinx.png $out/share/icons/hicolor/''${i}x$i/apps/ryujinx.png···
+6
-4
pkgs/misc/screensavers/pipes/default.nix
+6
-4
pkgs/misc/screensavers/pipes/default.nix
···
···
+3
-3
pkgs/os-specific/linux/busybox/default.nix
+3
-3
pkgs/os-specific/linux/busybox/default.nix
······
······
+41
pkgs/tools/audio/soco-cli/default.nix
+41
pkgs/tools/audio/soco-cli/default.nix
···
···
+12
-64
pkgs/tools/backup/discordchatexporter-cli/default.nix
+12
-64
pkgs/tools/backup/discordchatexporter-cli/default.nix
······
······
+13
-5
pkgs/tools/misc/aspcud/default.nix
+13
-5
pkgs/tools/misc/aspcud/default.nix
···
···
+6
-4
pkgs/tools/misc/ccze/default.nix
+6
-4
pkgs/tools/misc/ccze/default.nix
···
···
+9
-7
pkgs/tools/misc/contacts/default.nix
+9
-7
pkgs/tools/misc/contacts/default.nix
···-url = "https://github.com/dhess/contacts/archive/4092a3c6615d7a22852a3bafc44e4aeeb698aa8f.tar.gz";···
······
+7
-5
pkgs/tools/misc/profile-sync-daemon/default.nix
+7
-5
pkgs/tools/misc/profile-sync-daemon/default.nix
···
···
+7
-4
pkgs/tools/misc/sdate/default.nix
+7
-4
pkgs/tools/misc/sdate/default.nix
···
···
+6
-4
pkgs/tools/misc/tio/default.nix
+6
-4
pkgs/tools/misc/tio/default.nix
···
···
+6
-4
pkgs/tools/misc/txt2man/default.nix
+6
-4
pkgs/tools/misc/txt2man/default.nix
···
···
+18
-17
pkgs/tools/misc/xtitle/default.nix
+18
-17
pkgs/tools/misc/xtitle/default.nix
···
···
+4
-4
pkgs/tools/wayland/sirula/default.nix
+4
-4
pkgs/tools/wayland/sirula/default.nix
···
···
+4
-1
pkgs/top-level/all-packages.nix
+4
-1
pkgs/top-level/all-packages.nix
·········
·········
+10
pkgs/top-level/python-packages.nix
+10
pkgs/top-level/python-packages.nix
······
······