Merge pull request #117965 from svanderburg/fix-releasetools

releaseTools: fix nixBuild function
This commit is contained in:
Sander van der Burg
2021-03-30 22:35:17 +02:00
committed by GitHub

View File

@@ -83,9 +83,9 @@ stdenv.mkDerivation (
'';
}
// args //
// removeAttrs args [ "lib" ] # Propagating lib causes the evaluation to fail, because lib is a function that can't be converted to a string
{
// {
name = name + (if src ? version then "-" + src.version else "");
postHook = ''