luaPackages.readline: simplify sourceRoot

This commit is contained in:
Jan Malakhovski 2023-08-10 12:13:35 +00:00
parent 60e834fa00
commit 6e6d8bea3a

View File

@ -524,9 +524,7 @@ with prev;
tar xf *.tar.gz
'';
# Without this, source root is wrongly set to ./readline-2.6/doc
setSourceRoot = ''
sourceRoot=./readline-${lib.versions.majorMinor oa.version}
'';
sourceRoot = "readline-${lib.versions.majorMinor oa.version}";
});
sqlite = prev.sqlite.overrideAttrs (drv: {