Merge pull request #39713 from sephalon/pcsc-scm-scl011

pcsc-scm-scl011: clean up unpack phase
This commit is contained in:
xeji 2018-05-01 00:56:17 +02:00 committed by GitHub
commit a2c94b7f5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)