We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5443020 commit 6bd7f7aCopy full SHA for 6bd7f7a
flake.nix
@@ -22,13 +22,18 @@
22
config.allowUnfree = true;
23
};
24
});
25
- in {
+ pythonVersion = builtins.replaceStrings
26
+ [ "py" ]
27
+ [ "python" ]
28
+ (nixpkgs.lib.importTOML ./pyproject.toml).tool.ruff.target-version;
29
+ in
30
+ {
31
devShells = forEachSupportedSystem ({ pkgs }: {
32
default = pkgs.mkShell {
33
packages = with pkgs; [
34
nodejs
35
pnpm
- python310
36
+ pkgs.${pythonVersion}
37
vsce
38
pre-commit
39
];
0 commit comments