Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entire license in package derivations. #2126

Open
Rosuavio opened this issue Dec 10, 2023 · 1 comment
Open

Entire license in package derivations. #2126

Rosuavio opened this issue Dec 10, 2023 · 1 comment
Labels
enhancement New feature or request preserved Keep stale bot away

Comments

@Rosuavio
Copy link

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.

Copy link

stale bot commented Apr 9, 2024

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.

@stale stale bot added the wontfix label Apr 9, 2024
@hamishmack hamishmack added the preserved Keep stale bot away label Apr 13, 2024
@stale stale bot removed the wontfix label Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request preserved Keep stale bot away
Projects
None yet
Development

No branches or pull requests

2 participants