Revert "stdenv: introduce baseHash() to replace stripHash()"

Introduced by mistake

This reverts commit e71a5cb878.
This commit is contained in:
zimbatm
2016-06-25 14:25:58 +01:00
parent 893ab31159
commit 4f5918cd2e
12 changed files with 36 additions and 45 deletions
+2 -1
View File
@@ -531,7 +531,8 @@ rec {
# Hacky: RPM looks for <basename>.spec inside the tarball, so
# strip off the hash.
srcName=$(baseHash "$src")
stripHash "$src"
srcName="$strippedName"
cp "$src" "$srcName" # `ln' doesn't work always work: RPM requires that the file is owned by root
export HOME=/tmp/home