1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

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)