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"
|
"systems": "systems_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1705309234,
|
"lastModified": 1709126324,
|
||||||
"narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
|
"narHash": "sha256-q6EQdSeUZOG26WelxqkmR7kArjgWCdw5sfJVHPH/7j8=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26",
|
"rev": "d465f4819400de7c8d874d50b982301f28a84605",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
12
nix/fg42.nix
12
nix/fg42.nix
|
@ -23,8 +23,13 @@
|
||||||
ourPackages,
|
ourPackages,
|
||||||
writeText,
|
writeText,
|
||||||
symlinkJoin,
|
symlinkJoin,
|
||||||
|
|
||||||
|
# python deps
|
||||||
|
python311,
|
||||||
|
python3Packages,
|
||||||
# This is a set of system tools required for FG42
|
# This is a set of system tools required for FG42
|
||||||
# to work.
|
# to work.
|
||||||
|
pyright,
|
||||||
emacs,
|
emacs,
|
||||||
ripgrep,
|
ripgrep,
|
||||||
git,
|
git,
|
||||||
|
@ -48,6 +53,7 @@ let
|
||||||
);
|
);
|
||||||
|
|
||||||
maintainers = import ./maintainers.nix;
|
maintainers = import ./maintainers.nix;
|
||||||
|
|
||||||
in stdenv.mkDerivation (final: rec{
|
in stdenv.mkDerivation (final: rec{
|
||||||
pname = "fg42$";
|
pname = "fg42$";
|
||||||
version = "4.0.0";
|
version = "4.0.0";
|
||||||
|
@ -124,6 +130,12 @@ in stdenv.mkDerivation (final: rec{
|
||||||
${ripgrep}
|
${ripgrep}
|
||||||
${git}
|
${git}
|
||||||
${ltex-ls}
|
${ltex-ls}
|
||||||
|
# Python deps
|
||||||
|
${python311}/bin/python
|
||||||
|
${pyright}
|
||||||
|
${python3Packages.black}
|
||||||
|
${python3Packages.pylint}
|
||||||
|
${python3Packages.flake8}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
runHook postBuild
|
runHook postBuild
|
||||||
|
|
Loading…
Reference in New Issue