!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1179 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org193 Servers

Load older messages


SenderMessageTime
7 Jan 2026
@emilazy:matrix.orgemily if we are going to tag it, I would probably go with lib.licenses.free with an explanatory comment that we strip the SDK to only the symbol lists and header files required for interoperability and remove all the encumbered binary code 15:50:43
@emilazy:matrix.orgemilypublic domain is not quite right15:50:52
@emilazy:matrix.orgemilySPDX is reviewing an "uncopyrightable" licence IIRC15:51:04
@emilazy:matrix.orgemilybut I don't think it has an assigned identifier yet15:51:26
@emilazy:matrix.orgemily I'm wary of making explicit copyright/licensing assertions here though. free is generic enough to hopefully be fine 15:52:59
@emilazy:matrix.orgemilybtw there are like, thousands of packages without licenses tagged in the tree15:53:15
@emilazy:matrix.orgemilywould be good to fix, but we definitely have way more dubious stuff than the SDK15:53:35
@emilazy:matrix.orgemilyuntil last release we accidentally had entire encumbered Android system images gigabytes big getting pushed into the cache 🫣15:54:22
@eveeifyeve:matrix.orgeveeifyeve💀15:55:58
@emilazy:matrix.orgemilyFWIW preemptively: the Windows SDK has many proprietary binaries that would need to be stripped (like MSVC) for similar arguments to apply there, as well as DLLs (LIB import libraries for those DLLs should not be copyrightable, but not every LIB is an import library), and I believe it also has a lot of C++ which is much more likely to contain substantial copyrightable program logic in header files15:56:46
@emilazy:matrix.orgemilyand I believe that those DLLs are things you actually need to redistribute for programs to work rather than being able to use them from the OS like macOS system APIs15:57:30
@reckenrode:matrix.orgRandy EckenrodeDoesn’t MinGW and Wine provide potential, alternative SDK options?15:57:35
@emilazy:matrix.orgemilyUCRT comes with the system, but the non-U runtime wouldn't fall under all of this15:57:59
@reckenrode:matrix.orgRandy EckenrodeTrue, but isn’t UCRT preferred now?15:58:17
@eveeifyeve:matrix.orgeveeifyeveWe have permission to redistrobute it however the program requires you to accept the license.15:58:21
@emilazy:matrix.orgemilyto an extent. MinGW is not ABI-compatible or header-compatible. the reason I'm discussing this is because I brought up Windows SDK licensing in the past which I assume led to this15:58:48
@eveeifyeve:matrix.orgeveeifyeve * We have permission to redistribute it, however the program requires you to accept the license hinse why we have config.config.microsoftVisualStudioLicenseAccepted becoming an option. 15:59:23
@emilazy:matrix.orgemilycan you cite the licence wording granting third parties permission to redistribute the Windows SDK in its entirety?15:59:51
@emilazy:matrix.orgemilyit should be possible to strip down the Windows SDK similarly, I am just not sure how useful the resulting thing would be. it should suffice to get you headers and linker stubs to compile things with Clang for UCRT16:02:27
@emilazy:matrix.orgemilybut certainly wouldn't cover MSVC itself or any binary code in DLLs16:02:57
@eveeifyeve:matrix.orgeveeifyeve
you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. For more information, see www.microsoft.com/licensing.
You may not

    work around any technical limitations in the software;
    reverse engineer, decompile or disassemble the software, or attempt to do so, except and only to the extent required by third party licensing terms governing use of certain open source components that may be included with the software;
    remove, minimize, block or modify any notices of Microsoft or its suppliers;
    use the software in any way that is against the law; or
    share, publish, rent or lease the software, or provide the software as a stand-alone hosted as solution for others to use.

One user may use copies of the software to develop and test their applications.

16:07:36
@eveeifyeve:matrix.orgeveeifyeveUnder https://visualstudio.microsoft.com/license-terms/mt644918/16:07:54
@emilazy:matrix.orgemilythat's not a licence to redistribute at all16:08:31
@emilazy:matrix.orgemily(FWIW it's also about MSVC rather than the general SDK which I believe has a separate licence)16:09:50
@eveeifyeve:matrix.orgeveeifyeveBut that is not free license listed under windows.sdk and there is also an explisit config option which should comply with the license, no?16:10:04
@eveeifyeve:matrix.orgeveeifyeveAlso we are distributing MSVC SDK and Windows CRT not msvc the tool it self.16:11:10
@eveeifyeve:matrix.orgeveeifyeve Probably better to move this to #windows:nixos.org 16:11:30
@nazarewk:matrix.orgkdn

meh I'm getting that wrapProgram error again, this time it actually is correct path & line:

/nix/store/zgpcahpdddc0r1vk7qx4i1mf7dsylb2l-wrap-python-hook/nix-support/setup-hook: line 117: wrapProgram: command not found
16:13:01
@emilazy:matrix.orgemily right, I'm just saying that the arguments for apple-sdk don't transfer over to the Windows SDK without some work and potentially limiting the functionality substantially 16:19:14
@emilazy:matrix.orgemilyas non-free ~anything goes16:19:28

Show newer messages


Back to Room ListRoom Version: 6