summary refs log tree commit diff
path: root/pkgs/build-support/dotnet/build-dotnet-module/default.nix
diff options
context:
space:
mode:
authormdarocha <git@mdarocha.pl>2022-07-20 22:37:14 +0200
committermdarocha <git@mdarocha.pl>2022-07-26 18:00:15 +0200
commit19403a85d93d6814d057ac4f665708b87736e483 (patch)
treeb46c7e9d420923e7af75e99bab0f7a75e57e67a3 /pkgs/build-support/dotnet/build-dotnet-module/default.nix
parent3bbb296d9a0088c314ce83038b896753bbe33acb (diff)
downloadnixpkgs-19403a85d93d6814d057ac4f665708b87736e483.tar
nixpkgs-19403a85d93d6814d057ac4f665708b87736e483.tar.gz
nixpkgs-19403a85d93d6814d057ac4f665708b87736e483.tar.bz2
nixpkgs-19403a85d93d6814d057ac4f665708b87736e483.tar.lz
nixpkgs-19403a85d93d6814d057ac4f665708b87736e483.tar.xz
nixpkgs-19403a85d93d6814d057ac4f665708b87736e483.tar.zst
nixpkgs-19403a85d93d6814d057ac4f665708b87736e483.zip
buildDotnetModule: add option to make a self-contained build
Diffstat (limited to 'pkgs/build-support/dotnet/build-dotnet-module/default.nix')
-rw-r--r--pkgs/build-support/dotnet/build-dotnet-module/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/build-support/dotnet/build-dotnet-module/default.nix b/pkgs/build-support/dotnet/build-dotnet-module/default.nix
index 15fe5a2c5d4..339eac16b0b 100644
--- a/pkgs/build-support/dotnet/build-dotnet-module/default.nix
+++ b/pkgs/build-support/dotnet/build-dotnet-module/default.nix
@@ -55,6 +55,8 @@
 
 # The type of build to perform. This is passed to `dotnet` with the `--configuration` flag. Possible values are `Release`, `Debug`, etc.
 , buildType ? "Release"
+# If set to true, builds the application as a self-contained - removing the runtime dependency on dotnet
+, selfContainedBuild ? false
 # The dotnet SDK to use.
 , dotnet-sdk ? dotnetCorePackages.sdk_6_0
 # The dotnet runtime to use.