Skip to content

Commit

Permalink
LicenseRef-OtherLicense is not free = false
Browse files Browse the repository at this point in the history
The [dependent-map](https://hackage.haskell.org/package/dependent-map)
package for instance is not clear on which free license applies to
which parts of the code, but that does not mean it is not free.

`cabal2nix` maps LicenseRef-OtherLicense to `meta.license = "unknown"`

`cabal-to-nix` and `haskell.nix` map it to a more detailed attribute
set but it includes `free = false` and that causes packages like
`dependent-map` to fail to install when `allowUnfree` has not been set.

This change removes the `free` attribute altogether, which seems more
principled than asserting that the `OtherLicense` cannot be `free`.
  • Loading branch information
hamishmack committed Jan 19, 2021
1 parent 505130b commit 89b8fc1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/cabal-licenses.nix
Expand Up @@ -14,7 +14,6 @@ in licenses // {
shortName = "Other License";
fullName = "Unidentified Other License";
url = "https://spdx.github.io/spdx-spec/appendix-IV-SPDX-license-expressions/";
free = false;
};
NONE = null;
}

0 comments on commit 89b8fc1

Please sign in to comment.