Turn more licenses into lib.licenses style

Should eval cleanly, as far as -A tarball tells me.

Relevant: issue #2999, issue #739
This commit is contained in:
Mateusz Kowalczyk
2014-11-06 00:44:33 +00:00
parent d91986c24f
commit 007f80c1d0
187 changed files with 835 additions and 791 deletions

View File

@@ -2,9 +2,9 @@ x@{builderDefsPackage
, gawk, alsaLib, ncurses
, ...}:
builderDefsPackage
(a :
let
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
(a :
let
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
buildInputs = map (n: builtins.getAttr n x)
@@ -28,7 +28,7 @@ rec {
/* doConfigure should be removed if not needed */
phaseNames = ["doUnpack" "killUsrBin" "doConfigure" "doMakeInstall" "doDeploy" "fixPaths"];
killUsrBin = a.fullDepEntry ''
sed -e s@/usr/bin/@@g -i $( grep -rl '/usr/bin/' . )
sed -re 's@/bin/(rm|printf|uname)@\1@g' -i $( grep -rl '/bin/' . )
@@ -55,7 +55,7 @@ rec {
];
platforms = with a.lib.platforms;
linux;
license = "free-noncopyleft";
license = a.lib.licenses.free;
};
passthru = {
updateInfo = {
@@ -63,4 +63,3 @@ rec {
};
};
}) x