diff options
author | Felix Buehler <account@buehler.rocks> | 2021-06-20 16:15:21 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-06-30 09:45:11 +0200 |
commit | 3c12e95ad18367c92865bd13aef68c402fa76036 (patch) | |
tree | 56b6a222ef8b51958e8282d9c70cee73cc756a8b /pkgs/development/libraries/dotnetfx40 | |
parent | c1416deae1c0c085a3c7bd7e3c916a6c9dcf4f3e (diff) |
development: /s/name/pname&version/
Diffstat (limited to 'pkgs/development/libraries/dotnetfx40')
-rw-r--r-- | pkgs/development/libraries/dotnetfx40/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/libraries/dotnetfx40/default.nix b/pkgs/development/libraries/dotnetfx40/default.nix index 1ffc10cfc6056..379be1bdc26d4 100644 --- a/pkgs/development/libraries/dotnetfx40/default.nix +++ b/pkgs/development/libraries/dotnetfx40/default.nix @@ -4,9 +4,10 @@ let windir = "/cygdrive/c/WINDOWS"; in { - pkg = stdenv.mkDerivation { - name = "dotnetfx-4.0"; - src = "${windir}/Microsoft.NET/Framework/v4.0.30319"; + pkg = stdenv.mkDerivation rec { + pname = "dotnetfx"; + version = "4.0.30319"; + src = "${windir}/Microsoft.NET/Framework/v${version}"; buildCommand = '' mkdir -p $out/bin ln -s $src/MSBuild.exe $out/bin |