Add python as the runtime dependency

This commit is contained in:
Sameer Rahmani 2024-02-29 17:40:45 +00:00
parent 660086397e
commit 518b3d8f91
Signed by: lxsameer
GPG Key ID: B0A4AF28AB9FD90B
2 changed files with 15 additions and 3 deletions

View File

@ -44,11 +44,11 @@
"systems": "systems_2"
},
"locked": {
"lastModified": 1705309234,
"narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
"lastModified": 1709126324,
"narHash": "sha256-q6EQdSeUZOG26WelxqkmR7kArjgWCdw5sfJVHPH/7j8=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26",
"rev": "d465f4819400de7c8d874d50b982301f28a84605",
"type": "github"
},
"original": {

View File

@ -23,8 +23,13 @@
ourPackages,
writeText,
symlinkJoin,
# python deps
python311,
python3Packages,
# This is a set of system tools required for FG42
# to work.
pyright,
emacs,
ripgrep,
git,
@ -48,6 +53,7 @@ let
);
maintainers = import ./maintainers.nix;
in stdenv.mkDerivation (final: rec{
pname = "fg42$";
version = "4.0.0";
@ -124,6 +130,12 @@ in stdenv.mkDerivation (final: rec{
${ripgrep}
${git}
${ltex-ls}
# Python deps
${python311}/bin/python
${pyright}
${python3Packages.black}
${python3Packages.pylint}
${python3Packages.flake8}
EOF
runHook postBuild