diff options
author | Thomas Tuegel <ttuegel@mailbox.org> | 2017-05-26 15:47:39 -0500 |
---|---|---|
committer | Thomas Tuegel <ttuegel@mailbox.org> | 2017-06-18 08:44:43 -0500 |
commit | b9ae0c7185c500f8f2d6688c96f59777493dc229 (patch) | |
tree | 910bd247cc9fe45c7cdae75fb02cdffa27daaccc | |
parent | dea7372ebfe197dfe722bc375e415020a3cf6d96 (diff) | |
download | nixpkgs-b9ae0c7185c500f8f2d6688c96f59777493dc229.tar nixpkgs-b9ae0c7185c500f8f2d6688c96f59777493dc229.tar.gz nixpkgs-b9ae0c7185c500f8f2d6688c96f59777493dc229.tar.bz2 nixpkgs-b9ae0c7185c500f8f2d6688c96f59777493dc229.tar.lz nixpkgs-b9ae0c7185c500f8f2d6688c96f59777493dc229.tar.xz nixpkgs-b9ae0c7185c500f8f2d6688c96f59777493dc229.tar.zst nixpkgs-b9ae0c7185c500f8f2d6688c96f59777493dc229.zip |
kwallet-pam: set path to socat
-rw-r--r-- | pkgs/desktops/plasma-5/kwallet-pam.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/desktops/plasma-5/kwallet-pam.nix b/pkgs/desktops/plasma-5/kwallet-pam.nix index b7a783f82a3..d555701c76d 100644 --- a/pkgs/desktops/plasma-5/kwallet-pam.nix +++ b/pkgs/desktops/plasma-5/kwallet-pam.nix @@ -1,10 +1,11 @@ -{ mkDerivation, extra-cmake-modules, pam, socat, libgcrypt }: +{ mkDerivation, lib, extra-cmake-modules, pam, socat, libgcrypt, qtbase, }: mkDerivation { name = "kwallet-pam"; nativeBuildInputs = [ extra-cmake-modules ]; - - buildInputs = [ pam socat libgcrypt ]; - + buildInputs = [ pam socat libgcrypt qtbase ]; + postPatch = '' + sed -i pam_kwallet_init -e "s|socat|${lib.getBin socat}/bin/socat|" + ''; } |