mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[General]: Update configuration to NixOS 23.05 beta
This commit is contained in:
parent
786727693f
commit
e7f7c9a669
9 changed files with 46 additions and 27 deletions
32
overlays.nix
32
overlays.nix
|
|
@ -1,4 +1,5 @@
|
|||
{config, pkgs, options, lib, ...}:
|
||||
with builtins;
|
||||
with lib;
|
||||
let
|
||||
cfg = config.aviallon.overlays;
|
||||
|
|
@ -89,21 +90,30 @@ in
|
|||
jetbrains = prev.jetbrains // {
|
||||
pycharm-professional-fhs = (
|
||||
let
|
||||
myIsDerivation = x:
|
||||
let
|
||||
tryX = tryEval x;
|
||||
in
|
||||
if tryX.success
|
||||
then
|
||||
isDerivation tryX.value
|
||||
&& !(tryX.value.meta.insecure || tryX.value.meta.broken)
|
||||
else false
|
||||
;
|
||||
unwrapped = final.jetbrains.pycharm-professional;
|
||||
in prev.buildFHSUserEnv rec {
|
||||
name = "pycharm-professional";
|
||||
targetPkgs = pkgs: (with pkgs; [
|
||||
glibc
|
||||
targetPkgs = pkgs: (with pkgs;
|
||||
[
|
||||
glibc
|
||||
bashInteractive
|
||||
|
||||
python3Full
|
||||
python311
|
||||
python310Full
|
||||
python39Full
|
||||
python38Full
|
||||
python37Full
|
||||
|
||||
jetbrains.pycharm-professional
|
||||
]);
|
||||
python3Full
|
||||
|
||||
jetbrains.pycharm-professional
|
||||
]
|
||||
++ filter (x: myIsDerivation x) (attrValues pythonInterpreters)
|
||||
);
|
||||
|
||||
# symlink shared assets, including icons and desktop entries
|
||||
extraInstallCommands = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue