roslyn: rename name to pname

This commit is contained in:
Felix Buehler 2022-03-01 12:24:28 +01:00
parent f1948ab95b
commit 78eec31c49
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