uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
21
pkgs/desktops/plasma-5/kwallet-pam.nix
Normal file
21
pkgs/desktops/plasma-5/kwallet-pam.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ mkDerivation, lib, extra-cmake-modules, pam, socat, libgcrypt, qtbase, kwallet, }:
|
||||
|
||||
mkDerivation {
|
||||
pname = "kwallet-pam";
|
||||
nativeBuildInputs = [ extra-cmake-modules ];
|
||||
buildInputs = [ pam socat libgcrypt qtbase kwallet ];
|
||||
postPatch = ''
|
||||
sed -i pam_kwallet_init -e "s|socat|${lib.getBin socat}/bin/socat|"
|
||||
'';
|
||||
|
||||
# We get a crash when QT_PLUGIN_PATH is more than 1000 characters.
|
||||
# pam_kwallet_init passes its environment to kwalletd5, but
|
||||
# wrapQtApps gives our environment a huge QT_PLUGIN_PATH value. We
|
||||
# are able to unset it here since kwalletd5 will have its own
|
||||
# QT_PLUGIN_PATH.
|
||||
postFixup = ''
|
||||
wrapProgram $out/libexec/pam_kwallet_init --unset QT_PLUGIN_PATH
|
||||
'';
|
||||
|
||||
dontWrapQtApps = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue