mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Overlays] Fix jetbrains.pycharm-professional-fhs overlay
This commit is contained in:
parent
8e6ad49e93
commit
c1a11ce431
1 changed files with 7 additions and 4 deletions
11
overlays.nix
11
overlays.nix
|
|
@ -93,11 +93,14 @@ in
|
|||
let
|
||||
tryX = tryEval x;
|
||||
in
|
||||
if tryX.success
|
||||
if
|
||||
tryX.success && (isDerivation tryX.value)
|
||||
then
|
||||
isDerivation tryX.value
|
||||
&& !(tryX.value.meta.insecure || tryX.value.meta.broken)
|
||||
else false
|
||||
if !(tryX.value.meta.insecure || tryX.value.meta.broken)
|
||||
then true
|
||||
else trace "Excluding interpreter ${getName x} from pycharm FHS" false
|
||||
else
|
||||
false
|
||||
;
|
||||
interpreters = pkgs: filter (x: myIsDerivation x) (attrValues pkgs.pythonInterpreters);
|
||||
unwrapped = final.jetbrains.pycharm-professional;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue