Merge pull request #162352 from Stunkymonkey/roslyn-pname-version

This commit is contained in:
Sandro 2022-03-07 17:16:49 +01:00 committed by GitHub
commit fb02e4411e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 145 additions and 146 deletions

View file

@ -48,7 +48,7 @@ do
sha256=$(nix-prefetch-url "$url" 2>/dev/null)
cat << EOL
{
name = "$package";
pname = "$package";
version = "$version";
src = fetchurl {
url = "$url";

View file

@ -13,8 +13,7 @@
let
deps = map (package: stdenv.mkDerivation (with package; {
pname = name;
inherit version src;
inherit pname version src;
buildInputs = [ unzip ];
unpackPhase = ''
@ -40,7 +39,7 @@ let
installPhase = ''
runHook preInstall
package=$out/lib/dotnet/${name}/${version}
package=$out/lib/dotnet/${pname}/${version}
mkdir -p $package
cp -r . $package
echo "{}" > $package/.nupkg.metadata

File diff suppressed because it is too large Load diff