diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2016-08-16 22:51:21 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2016-08-16 22:52:37 +0200 |
commit | 5a501bd828b19e9cef4589b3b9dc2852401a2882 (patch) | |
tree | 49be7194446f7258b197ff0f29fc00d8eb939f02 /pkgs/os-specific/linux/pam_usb | |
parent | 6b23bd99a31a450fede964206153ddd5ac76a22f (diff) | |
download | nixpkgs-5a501bd828b19e9cef4589b3b9dc2852401a2882.tar nixpkgs-5a501bd828b19e9cef4589b3b9dc2852401a2882.tar.gz nixpkgs-5a501bd828b19e9cef4589b3b9dc2852401a2882.tar.bz2 nixpkgs-5a501bd828b19e9cef4589b3b9dc2852401a2882.tar.lz nixpkgs-5a501bd828b19e9cef4589b3b9dc2852401a2882.tar.xz nixpkgs-5a501bd828b19e9cef4589b3b9dc2852401a2882.tar.zst nixpkgs-5a501bd828b19e9cef4589b3b9dc2852401a2882.zip |
Remove top-level dbus_python and pythonDBus.
See #11567. Furthermore, it renames pythonPackages.dbus to pythonPackages.dbus- python as that's the name upstream uses. There is a small rebuild but I couldn't figure out the actual cause.
Diffstat (limited to 'pkgs/os-specific/linux/pam_usb')
-rw-r--r-- | pkgs/os-specific/linux/pam_usb/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/pam_usb/default.nix b/pkgs/os-specific/linux/pam_usb/default.nix index 67d9894a2a0..a96e951bf9b 100644 --- a/pkgs/os-specific/linux/pam_usb/default.nix +++ b/pkgs/os-specific/linux/pam_usb/default.nix @@ -1,8 +1,9 @@ -{stdenv, fetchurl, makeWrapper, useSetUID, dbus, libxml2, pam, pkgconfig, pmount, python, pythonDBus}: +{stdenv, fetchurl, makeWrapper, useSetUID, dbus, libxml2, pam, pkgconfig, pmount, pythonPackages}: let pmountBin = useSetUID pmount "/bin/pmount"; pumountBin = useSetUID pmount "/bin/pumount"; + inherit (pythonPackages) python dbus-python; in stdenv.mkDerivation rec { @@ -36,7 +37,7 @@ stdenv.mkDerivation rec { for prog in $out/bin/pamusb-conf $out/bin/pamusb-agent; do substituteInPlace $prog --replace '/usr/bin/env python' '/bin/python' wrapProgram $prog \ - --prefix PYTHONPATH : "$(toPythonPath ${pythonDBus})" + --prefix PYTHONPATH : "$(toPythonPath ${dbus-python})" done ''; |