File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ description = "seekers-api" ;
3+
4+ inputs = {
5+ nixpkgs . url = "github:nixos/nixpkgs/nixos-25.05" ;
6+ flake-utils . url = "github:numtide/flake-utils" ;
7+ } ;
8+
9+ outputs =
10+ {
11+ nixpkgs ,
12+ flake-utils ,
13+ ...
14+ } :
15+ flake-utils . lib . eachDefaultSystem (
16+ system :
17+ let
18+ pkgs = import nixpkgs {
19+ inherit system ;
20+ } ;
21+ stdenv = pkgs . stdenv ;
22+ lib = import nixpkgs . lib ;
23+ shell = nixpkgs . legacyPackages . "${ system } " . callPackage ./shell.nix {
24+ pkgs = pkgs ;
25+ lib = lib ;
26+ } ;
27+ in
28+ {
29+ # enables use of `nix shell`
30+ devShell = shell ;
31+ }
32+ ) ;
33+ }
Original file line number Diff line number Diff line change 1+ {
2+ pkgs ? import <nixpkgs> { } ,
3+ lib ? import <nixpkgs/lib> { } ,
4+ ...
5+ } :
6+
7+ pkgs . mkShell {
8+ packages = with pkgs ; [
9+ nixfmt-rfc-style
10+ ] ;
11+
12+ nativeBuildInputs = with pkgs ; [
13+ python312Packages . pygame
14+ python312Packages . grpcio
15+ python312Packages . protobuf
16+ ] ;
17+ }
You can’t perform that action at this time.
0 commit comments