mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +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);
|
myIsDerivation = x: !(myLib.derivations.isBroken x);
|
||||||
interpreters = pkgs: filter (x: myIsDerivation x) (attrValues pkgs.pythonInterpreters);
|
interpreters = pkgs: filter (x: myIsDerivation x) (attrValues pkgs.pythonInterpreters);
|
||||||
in prev.buildFHSUserEnv rec {
|
in prev.buildFHSUserEnv rec {
|
||||||
name = pkg.name;
|
name = pkg.pname;
|
||||||
targetPkgs = pkgs: (with pkgs;
|
targetPkgs = pkgs: (with pkgs;
|
||||||
[
|
[
|
||||||
glibc
|
glibc
|
||||||
|
|
@ -114,7 +114,7 @@ in
|
||||||
ln -s "${pkg}/share" "$out/"
|
ln -s "${pkg}/share" "$out/"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
runScript = "/usr/bin/${name}";
|
runScript = "/usr/bin/${pkg.pname}";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
jetbrains = prev.jetbrains // {
|
jetbrains = prev.jetbrains // {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue