Merge pull request #162352 from Stunkymonkey/roslyn-pname-version
This commit is contained in:
commit
fb02e4411e
|
@ -48,7 +48,7 @@ do
|
||||||
sha256=$(nix-prefetch-url "$url" 2>/dev/null)
|
sha256=$(nix-prefetch-url "$url" 2>/dev/null)
|
||||||
cat << EOL
|
cat << EOL
|
||||||
{
|
{
|
||||||
name = "$package";
|
pname = "$package";
|
||||||
version = "$version";
|
version = "$version";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "$url";
|
url = "$url";
|
||||||
|
|
|
@ -13,8 +13,7 @@
|
||||||
let
|
let
|
||||||
|
|
||||||
deps = map (package: stdenv.mkDerivation (with package; {
|
deps = map (package: stdenv.mkDerivation (with package; {
|
||||||
pname = name;
|
inherit pname version src;
|
||||||
inherit version src;
|
|
||||||
|
|
||||||
buildInputs = [ unzip ];
|
buildInputs = [ unzip ];
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
|
@ -40,7 +39,7 @@ let
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
package=$out/lib/dotnet/${name}/${version}
|
package=$out/lib/dotnet/${pname}/${version}
|
||||||
mkdir -p $package
|
mkdir -p $package
|
||||||
cp -r . $package
|
cp -r . $package
|
||||||
echo "{}" > $package/.nupkg.metadata
|
echo "{}" > $package/.nupkg.metadata
|
||||||
|
|
284
pkgs/development/compilers/roslyn/deps.nix
generated
284
pkgs/development/compilers/roslyn/deps.nix
generated
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue