treewide: Get rid of most parseDrvName without breaking compat
That is because this commit should be merged to both master and release-19.09.
This commit is contained in:
@@ -2,7 +2,7 @@ with import ../../../default.nix {};
|
||||
runCommand "openssl-lib-marked" {} ''
|
||||
mkdir -p "$out/lib"
|
||||
for lib in ssl crypto; do
|
||||
version="${(builtins.parseDrvName openssl.name).version}"
|
||||
version="${lib.getVersion openssl}"
|
||||
ln -s "${lib.getLib openssl}/lib/lib$lib.so" "$out/lib/lib$lib.so.$version"
|
||||
version="$(echo "$version" | sed -re 's/[a-z]+$//')"
|
||||
while test -n "$version"; do
|
||||
|
||||
Reference in New Issue
Block a user