forked from FG42/FG42
Add python as the runtime dependency
This commit is contained in:
parent
660086397e
commit
518b3d8f91
|
@ -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": {
|
||||
|
|
12
nix/fg42.nix
12
nix/fg42.nix
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue