mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Overlays] fix wrong package/script name with Pycharm FHS env
Caused issues with .desktop file
This commit is contained in:
parent
6e94b4ae77
commit
eeae546d01
1 changed files with 2 additions and 2 deletions
|
|
@ -96,7 +96,7 @@ in
|
|||
myIsDerivation = x: !(myLib.derivations.isBroken x);
|
||||
interpreters = pkgs: filter (x: myIsDerivation x) (attrValues pkgs.pythonInterpreters);
|
||||
in prev.buildFHSUserEnv rec {
|
||||
name = pkg.name;
|
||||
name = pkg.pname;
|
||||
targetPkgs = pkgs: (with pkgs;
|
||||
[
|
||||
glibc
|
||||
|
|
@ -114,7 +114,7 @@ in
|
|||
ln -s "${pkg}/share" "$out/"
|
||||
'';
|
||||
|
||||
runScript = "/usr/bin/${name}";
|
||||
runScript = "/usr/bin/${pkg.pname}";
|
||||
};
|
||||
in {
|
||||
jetbrains = prev.jetbrains // {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue