pcsc-scm-scl011: clean up unpack phase

This commit is contained in:
Stefan Wiehler 2018-04-30 13:15:25 +02:00
parent 69d4bdc557
commit 2cc9da33af

View File

@ -17,10 +17,9 @@ stdenv.mkDerivation rec {
buildInputs = [ unzip ];
unpackPhase = ''
echo ${stdenv.system}
unzip $src
tar xf "Linux Driver Ver${version}/sclgeneric_${version}_linux_${arch}bit.tar.gz"
cd sclgeneric_${version}_linux_${arch}bit; export sourceRoot=`pwd`
export sourceRoot=$(readlink -e sclgeneric_${version}_linux_${arch}bit)
'';
# Add support for SCL011 nPA (subsidized model for German eID)