hekkaidekapus has quit [Ping timeout: 240 seconds]
hekkaidekapus has joined #haskell.nix
<__monty__>
I'm looking into haskell.nix's handling of licenses. Most licenses map to nixpkgs' spdx attrsets or lists thereof. But there's also plain strings. Are the sets simply rendered as SPDX short identifiers?
<__monty__>
Hmm, since they're being passed as meta.license I suppose they should all be spdx attrsets?
julm has quit [Quit: leaving]
julm has joined #haskell.nix
<michaelpj1>
__monty__: I suspect nobody has looked at this terribly thoroughly! From what I recall there's a mapping from cabal licenses to nixpkgs licenses, but I'm sure it's quite incomplete
<__monty__>
Yeah, that's the file I'm talking about.
<michaelpj1>
I think they should be "whatever is supposed to go in meta.licenses", but it sounds like you might know more about what we should be putting there!
<michaelpj1>
improvements welcome
<__monty__>
Is this the scary moment when you're looking for help from the expert and it turns out you're the expert? o.o
<__monty__>
: ) I'll keep digging. Any input is welcome though.
<michaelpj1>
lol exactly
<michaelpj1>
for sure, it should produce "good nixpkgs license metadata", whatever that is. If they've got some fancy spdx thing now which we can generate then let's do that by all means!
<__monty__>
Nothing changed or fancy. Just that LicenseRef-Apache for example maps to "Apache", rather than an attrset with the usual fullName, shortName, spdxId and url. Even though url doesn't really have a good value in that case.
julm has quit [Quit: leaving]
julm has joined #haskell.nix
manveru has quit [Ping timeout: 260 seconds]
manveru has joined #haskell.nix
wedens[m] has left #haskell.nix ["Kicked by @appservice-irc:matrix.org : Idle for 30+ days"]