Merge pull request #86200 from jamesottaway/patch-1

dotnetCorePackages: Fix `combinePackages` example
This commit is contained in:
Sandro 2021-03-22 00:20:44 +01:00 committed by GitHub
commit 99f6fd4365
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,9 +4,9 @@ let cli = builtins.head packages;
in
assert lib.assertMsg ((builtins.length packages) != 0)
''You must include at least one package, e.g
`with dotnetCorePackages; combinePackages {
packages = [ sdk_3_0 aspnetcore_2_1 ];
};`'' ;
`with dotnetCorePackages; combinePackages [
sdk_3_0 aspnetcore_2_1
];`'' ;
buildEnv {
name = "dotnet-core-combined";
paths = packages;