Skip to content

Commit

Permalink
Merge pull request #62261 from bricewge/ykman-gui-otp
Browse files Browse the repository at this point in the history
yubikey-manager-gui: revert part of 2e359d9
  • Loading branch information
Mic92 committed May 31, 2019
2 parents f3eaa07 + 5aa3350 commit 0c6fb79
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/tools/misc/yubikey-manager-qt/default.nix
Expand Up @@ -46,12 +46,11 @@ in stdenv.mkDerivation rec {

pythonPath = [ yubikey-manager ];

# Need LD_PRELOAD for libykpers as the Nix cpython disables ctypes.cdll.LoadLibrary
# support that the yubicommon library uses to load libykpers
postInstall = ''
buildPythonPath "$pythonPath"
wrapProgram $out/bin/ykman-gui \
--prefix LD_LIBRARY_PATH : "${stdenv.lib.getLib pcsclite}/lib:${yubikey-personalization}/lib" \
--prefix PYTHONPATH : "$program_PYTHONPATH" \
--set QML2_IMPORT_PATH "${qml2ImportPath}" \
--set QT_QPA_PLATFORM_PLUGIN_PATH ${qtbase.bin}/lib/qt-*/plugins/platforms \
Expand Down

0 comments on commit 0c6fb79

Please sign in to comment.