We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c6e14dd + 70619b3 commit e3beaa6Copy full SHA for e3beaa6
pkgs/development/compilers/dotnet/default.nix
@@ -11,7 +11,7 @@
11
recurseIntoAttrs,
12
generateSplicesForMkScope,
13
makeScopeWithSplicing',
14
- stdenvNoCC,
+ writeScriptBin,
15
}:
16
17
let
@@ -70,6 +70,11 @@ let
70
// {
71
inherit callPackage fetchNupkg buildDotnetSdk;
72
73
+ generate-dotnet-sdk = writeScriptBin "generate-dotnet-sdk" (
74
+ # Don't include current nixpkgs in the exposed version. We want to make the script runnable without nixpkgs repo.
75
+ builtins.replaceStrings [ " -I nixpkgs=./." ] [ "" ] (builtins.readFile ./update.sh)
76
+ );
77
+
78
# Convert a "stdenv.hostPlatform.system" to a dotnet RID
79
systemToDotnetRid =
80
system: runtimeIdentifierMap.${system} or (throw "unsupported platform ${system}");
0 commit comments