Config: Python-related changes in project flake
This commit is contained in:
@ -115,6 +115,10 @@ rec {
|
|||||||
# Java:
|
# Java:
|
||||||
# gradle
|
# gradle
|
||||||
|
|
||||||
|
# Python:
|
||||||
|
# hatch
|
||||||
|
# py-spy
|
||||||
|
|
||||||
# Qt:
|
# Qt:
|
||||||
# qt6.wrapQtAppsHook # For the shellHook
|
# qt6.wrapQtAppsHook # For the shellHook
|
||||||
];
|
];
|
||||||
@ -203,6 +207,9 @@ rec {
|
|||||||
# QT imports to use with "qmlls -E"
|
# QT imports to use with "qmlls -E"
|
||||||
# QML_IMPORT_PATH = "${pkgs.qt6.full}/lib/qt-6/qml";
|
# QML_IMPORT_PATH = "${pkgs.qt6.full}/lib/qt-6/qml";
|
||||||
|
|
||||||
|
# Set PYTHONPATH
|
||||||
|
# PYTHONPATH = ".";
|
||||||
|
|
||||||
# =========================================================================================
|
# =========================================================================================
|
||||||
# Define shell environment
|
# Define shell environment
|
||||||
# =========================================================================================
|
# =========================================================================================
|
||||||
@ -264,6 +271,11 @@ rec {
|
|||||||
|
|
||||||
# Clojure:
|
# Clojure:
|
||||||
# abbr -a clojure-deps "deps-lock --lein"
|
# abbr -a clojure-deps "deps-lock --lein"
|
||||||
|
|
||||||
|
# Python:
|
||||||
|
# abbr -a run "python ./app/main.py"
|
||||||
|
# abbr -a profile "py-spy record -o profile.svg -- python ./app/main.py && firefox profile.svg"
|
||||||
|
# abbr -a ptop "py-spy top -- python ./app/main.py"
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
builtins.concatStringsSep "\n" [
|
builtins.concatStringsSep "\n" [
|
||||||
|
Reference in New Issue
Block a user