diff options
author | volth <volth@volth.com> | 2018-12-15 03:50:31 +0000 |
---|---|---|
committer | volth <volth@volth.com> | 2018-12-15 03:50:31 +0000 |
commit | bb9557eb7ca623ac9c12bae1fe4f95c9e290d27d (patch) | |
tree | c4f1c253bf8cf5fe17612039d2a27acbdacef253 /pkgs/tools/security/pcsctools | |
parent | 921d046537f6d7f0fc0db07b7aa46be7e9df030b (diff) |
lib.makePerlPath -> perlPackages.makePerlPath
Diffstat (limited to 'pkgs/tools/security/pcsctools')
-rw-r--r-- | pkgs/tools/security/pcsctools/default.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/tools/security/pcsctools/default.nix b/pkgs/tools/security/pcsctools/default.nix index 42f1df8b3842b..d38babc7d2e05 100644 --- a/pkgs/tools/security/pcsctools/default.nix +++ b/pkgs/tools/security/pcsctools/default.nix @@ -1,6 +1,5 @@ { stdenv, lib, fetchurl, makeWrapper, pkgconfig, udev, dbus, pcsclite -, wget, coreutils -, perl, pcscperl, Glib, Gtk2, Pango, Cairo +, wget, coreutils, perlPackages }: let deps = lib.makeBinPath [ wget coreutils ]; @@ -13,17 +12,17 @@ in stdenv.mkDerivation rec { sha256 = "050x3yqd5ywl385zai3k1zhbm2lz1f5ksalfpm9hd86s50f03ans"; }; - buildInputs = [ udev dbus perl pcsclite ]; + buildInputs = [ udev dbus perlPackages.perl pcsclite ]; nativeBuildInputs = [ makeWrapper pkgconfig ]; postInstall = '' wrapProgram $out/bin/scriptor \ - --set PERL5LIB "${lib.makePerlPath [ pcscperl ]}" + --set PERL5LIB "${with perlPackages; makePerlPath [ pcscperl ]}" wrapProgram $out/bin/gscriptor \ - --set PERL5LIB "${lib.makePerlPath [ pcscperl Glib Gtk2 Pango Cairo ]}" + --set PERL5LIB "${with perlPackages; makePerlPath [ pcscperl Glib Gtk2 Pango Cairo ]}" wrapProgram $out/bin/ATR_analysis \ - --set PERL5LIB "${lib.makePerlPath [ pcscperl ]}" + --set PERL5LIB "${with perlPackages; makePerlPath [ pcscperl ]}" wrapProgram $out/bin/pcsc_scan \ --set PATH "$out/bin:${deps}" ''; |