Loading pkgs/os-specific/windows/default.nix +7 −3 Original line number Diff line number Diff line { lib, config, stdenv, buildPackages, pkgs, Loading @@ -9,7 +10,9 @@ }: lib.makeScope newScope ( self: with self; { self: with self; { dlfcn = callPackage ./dlfcn { }; mingw_w64 = callPackage ./mingw-w64 { Loading @@ -31,8 +34,6 @@ lib.makeScope newScope ( mingw_w64_headers = callPackage ./mingw-w64/headers.nix { }; mingw_w64_pthreads = lib.warn "windows.mingw_w64_pthreads is deprecated, windows.pthreads should be preferred" self.pthreads; mcfgthreads = callPackage ./mcfgthreads { stdenv = crossThreadsStdenv; }; npiperelay = callPackage ./npiperelay { }; Loading @@ -43,4 +44,7 @@ lib.makeScope newScope ( sdk = callPackage ./msvcSdk { }; } // lib.optionalAttrs config.allowAliases { mingw_w64_pthreads = lib.warn "windows.mingw_w64_pthreads is deprecated, windows.pthreads should be preferred" self.pthreads; } ) pkgs/os-specific/windows/msvcSdk/default.nix +98 −96 Original line number Diff line number Diff line Loading @@ -24,13 +24,6 @@ let else throw "Unsupported system"; in if !config.microsoftVisualStudioLicenseAccepted then throw '' Microsoft Software License Terms are not accepted with config.microsoftVisualStudioLicenseAccepted. Please read https://visualstudio.microsoft.com/license-terms/mt644918/ and if you agree, change your config to indicate so. '' else stdenvNoCC.mkDerivation (finalAttrs: { inherit version; pname = "msvc-sdk"; Loading @@ -41,7 +34,15 @@ else outputHashAlgo = "sha256"; outputHashMode = "recursive"; outputHash = hashes.${arch}; outputHash = if !config.microsoftVisualStudioLicenseAccepted then throw '' Microsoft Software License Terms are not accepted with config.microsoftVisualStudioLicenseAccepted. Please read https://visualstudio.microsoft.com/license-terms/mt644918/ and if you agree, change your config to indicate so. '' else hashes.${arch}; __structuredAttrs = true; xwinArgs = [ Loading Loading @@ -114,6 +115,7 @@ else fullName = "Microsoft Software License Terms"; shortName = "msvc"; spdxId = "unknown"; free = false; url = "https://www.visualstudio.com/license-terms/mt644918/"; }; platforms = lib.platforms.all; Loading Loading
pkgs/os-specific/windows/default.nix +7 −3 Original line number Diff line number Diff line { lib, config, stdenv, buildPackages, pkgs, Loading @@ -9,7 +10,9 @@ }: lib.makeScope newScope ( self: with self; { self: with self; { dlfcn = callPackage ./dlfcn { }; mingw_w64 = callPackage ./mingw-w64 { Loading @@ -31,8 +34,6 @@ lib.makeScope newScope ( mingw_w64_headers = callPackage ./mingw-w64/headers.nix { }; mingw_w64_pthreads = lib.warn "windows.mingw_w64_pthreads is deprecated, windows.pthreads should be preferred" self.pthreads; mcfgthreads = callPackage ./mcfgthreads { stdenv = crossThreadsStdenv; }; npiperelay = callPackage ./npiperelay { }; Loading @@ -43,4 +44,7 @@ lib.makeScope newScope ( sdk = callPackage ./msvcSdk { }; } // lib.optionalAttrs config.allowAliases { mingw_w64_pthreads = lib.warn "windows.mingw_w64_pthreads is deprecated, windows.pthreads should be preferred" self.pthreads; } )
pkgs/os-specific/windows/msvcSdk/default.nix +98 −96 Original line number Diff line number Diff line Loading @@ -24,13 +24,6 @@ let else throw "Unsupported system"; in if !config.microsoftVisualStudioLicenseAccepted then throw '' Microsoft Software License Terms are not accepted with config.microsoftVisualStudioLicenseAccepted. Please read https://visualstudio.microsoft.com/license-terms/mt644918/ and if you agree, change your config to indicate so. '' else stdenvNoCC.mkDerivation (finalAttrs: { inherit version; pname = "msvc-sdk"; Loading @@ -41,7 +34,15 @@ else outputHashAlgo = "sha256"; outputHashMode = "recursive"; outputHash = hashes.${arch}; outputHash = if !config.microsoftVisualStudioLicenseAccepted then throw '' Microsoft Software License Terms are not accepted with config.microsoftVisualStudioLicenseAccepted. Please read https://visualstudio.microsoft.com/license-terms/mt644918/ and if you agree, change your config to indicate so. '' else hashes.${arch}; __structuredAttrs = true; xwinArgs = [ Loading Loading @@ -114,6 +115,7 @@ else fullName = "Microsoft Software License Terms"; shortName = "msvc"; spdxId = "unknown"; free = false; url = "https://www.visualstudio.com/license-terms/mt644918/"; }; platforms = lib.platforms.all; Loading