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
commit 9a11dbc4a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 = ''