File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,4 @@ global-exclude *.pyc
8
8
9
9
recursive-exclude news *
10
10
exclude news
11
+ include flake.nix
Original file line number Diff line number Diff line change
1
+ {
2
+ description = "A very basic flake" ;
3
+
4
+ inputs = {
5
+ nixpkgs . url = "github:NixOS/nixpkgs/release-23.05" ;
6
+ flake-utils . url = "github:numtide/flake-utils" ;
7
+ } ;
8
+
9
+ outputs = { self , nixpkgs , flake-utils } : flake-utils . lib . eachDefaultSystem
10
+ ( system :
11
+ let
12
+ pkgs = nixpkgs . legacyPackages . ${ system } ;
13
+
14
+ my-python-packages = python-packages : with python-packages ; [
15
+ virtualenv
16
+ tox
17
+ ] ;
18
+ python = pkgs . python311 . withPackages my-python-packages ;
19
+ in
20
+ {
21
+ devShells . default = pkgs . mkShell {
22
+ buildInputs = [ python pkgs . geckodriver pkgs . chromedriver ] ;
23
+ } ;
24
+ }
25
+ ) ;
26
+ }
You can’t perform that action at this time.
0 commit comments