kde - Installing kdesu on NixOS -


when setting advanced properties on program/link start user throwing error:

sorry - plasma kdeinit not launch 'kdesu': not open library 'libkdeinit5_kdesu'. cannot load library /run/current-system/sw/lib/libkdeinit5_kdesu: (/run/current-system/sw/lib/libkdeinit5_kdesu.so: cannot open shared object file: no such file or directory) 

i tried install kdesu using:

[root@nixos:~]# nix-env -qap kdesu nixos.kdeframeworks.kdesu  kdesu-5.36.0  [root@nixos:~]# nix-env -ia nixos.kdeframeworks.kdesu replacing old ‘kdesu-5.36.0’ installing ‘kdesu-5.36.0’ building path(s) ‘/nix/store/2bn27h5drw0800gk5z2rmwfx78gqbbdc-user-environment’ created 2209 symlinks in user environment  [root@nixos:~]# kdesu bash: kdesu: command not found  [root@nixos:~]# kdesu which: no kdesu in (/root/bin:/run/wrappers/bin:/etc/per-user-pkgs/root/bin:/root/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin) 

i tried installing nix-env -ia nixos.kde-cli-tools not work either.

any suggestions on how kdesu installed on nixos?

as general rule, unlike many distros on nixos installing library directly doesn't work intended; application needs library won't able find it. instead, package must declare it's dependencies.

packages have optional dependencies tend have way add them via configuration. may want try in /etc/nixos/configuration.nix

services.xserver.desktopmanager.plasma5.extrapackages = kdeframeworks;      [ kdesu     ]; 

Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -