You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Working on automatically creating containers from cabal exe's (input-output-hk/iogx#26), and I want to provide the same license information specified in the cabal file to container's license meta data. The cabal exe allows the user to specify an SPDX License Expression and the container allows SPDX License Expressions. I want the be able to put the same expression from the cabal file into the container.
While haskell.nix does parse the license expression, as far as I know its only stored in meta.licenses as a list of license. That list does not preserve the relations between the licenses used (WITH, AND, OR) so the original string from the cabal file is unrecoverable from content from meta.licenses.
Describe the solution you'd like
And extra attribute somewhere in the package with the entire original string.
Describe alternatives you've considered
Change nixpkgs to allow entire SPDX license expressions in meta somewhere or something isomorphic to SPDX license expressions.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Is your feature request related to a problem? Please describe.
Working on automatically creating containers from cabal exe's (input-output-hk/iogx#26), and I want to provide the same license information specified in the cabal file to container's license meta data. The cabal exe allows the user to specify an SPDX License Expression and the container allows SPDX License Expressions. I want the be able to put the same expression from the cabal file into the container.
While haskell.nix does parse the license expression, as far as I know its only stored in
meta.licenses
as a list of license. That list does not preserve the relations between the licenses used (WITH
,AND
,OR
) so the original string from the cabal file is unrecoverable from content frommeta.licenses
.Describe the solution you'd like
And extra attribute somewhere in the package with the entire original string.
Describe alternatives you've considered
Change nixpkgs to allow entire SPDX license expressions in
meta
somewhere or something isomorphic to SPDX license expressions.The text was updated successfully, but these errors were encountered: