Revert "stdenv: introduce baseHash() to replace stripHash()"
Introduced by mistake
This reverts commit e71a5cb878.
This commit is contained in:
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||
sourceRoot = "./";
|
||||
|
||||
unpackCmd = ''
|
||||
ttfName=$(baseHash $curSrc)
|
||||
ttfName=$(basename $(stripHash $curSrc; echo $strippedName))
|
||||
cp $curSrc ./$ttfName
|
||||
'';
|
||||
|
||||
|
||||
@@ -3,4 +3,5 @@ source $stdenv/setup
|
||||
mkdir -p $out/xml/dtd/docbook-ebnf
|
||||
cd $out/xml/dtd/docbook-ebnf
|
||||
cp -p $dtd dbebnf.dtd
|
||||
cp -p $catalog $(baseHash $catalog)
|
||||
stripHash $catalog
|
||||
cp -p $catalog $strippedName
|
||||
|
||||
Reference in New Issue
Block a user