From 5e34490289a855b42a3e7a7efd8174fe593525c9 Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Tue, 4 Oct 2011 13:31:23 +0000 Subject: [PATCH] Added dotnetfx 4.0 svn path=/nixpkgs/trunk/; revision=29631 --- .../libraries/dotnetfx40/default.nix | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pkgs/development/libraries/dotnetfx40/default.nix diff --git a/pkgs/development/libraries/dotnetfx40/default.nix b/pkgs/development/libraries/dotnetfx40/default.nix new file mode 100644 index 000000000000..b9ce4738d129 --- /dev/null +++ b/pkgs/development/libraries/dotnetfx40/default.nix @@ -0,0 +1,23 @@ +{stdenv}: + +let + windir = "/cygdrive/c/WINDOWS"; +in +{ + pkg = stdenv.mkDerivation { + name = "dotnetfx-4.0"; + src = "${windir}/Microsoft.NET/Framework/v4.0.30319"; + buildCommand = '' + ensureDir $out/bin + ln -s $src/MSBuild.exe $out/bin + ''; + }; + + assembly20Path = "/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v2.0.50727"; + + wcfPath = "/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v3.0/WINDOW~1"; + + referenceAssembly30Path = "/cygdrive/c/PROGRA~1/REFERE~1/Microsoft/Framework/v3.0"; + + referenceAssembly35Path = "/cygdrive/c/PROGRA~1/REFERE~1/Microsoft/Framework/v3.5"; +}