File tree Expand file tree Collapse file tree 3 files changed +34
-26
lines changed
Expand file tree Collapse file tree 3 files changed +34
-26
lines changed Original file line number Diff line number Diff line change 11{
22 description = "update-flake-lock" ;
33
4- inputs . nixpkgs . url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.*.tar.gz " ;
4+ inputs . nixpkgs . url = "https://flakehub.com/f/NixOS/nixpkgs/0.1" ;
55
6- outputs = { self , nixpkgs } :
6+ outputs =
7+ { self , nixpkgs } :
78 let
8- supportedSystems = [ "x86_64-linux" "aarch64-darwin" "aarch64-linux" "x86_64-darwin" ] ;
9- forEachSupportedSystem = f : nixpkgs . lib . genAttrs supportedSystems ( system : f {
10- pkgs = import nixpkgs { inherit system ; } ;
11- } ) ;
9+ supportedSystems = [
10+ "x86_64-linux"
11+ "aarch64-darwin"
12+ "aarch64-linux"
13+ "x86_64-darwin"
14+ ] ;
15+ forEachSupportedSystem =
16+ f :
17+ nixpkgs . lib . genAttrs supportedSystems (
18+ system :
19+ f {
20+ pkgs = import nixpkgs { inherit system ; } ;
21+ }
22+ ) ;
1223 in
1324 {
14- devShells = forEachSupportedSystem ( { pkgs } : {
15- default = pkgs . mkShell {
16- packages = with pkgs ; [
17- nodejs_latest
18- nodePackages_latest . pnpm
19- ] ;
20- } ;
21- } ) ;
25+ devShells = forEachSupportedSystem (
26+ { pkgs } :
27+ {
28+ default = pkgs . mkShell {
29+ packages = with pkgs ; [
30+ nodejs_latest
31+ nodePackages_latest . pnpm
32+ ] ;
33+ } ;
34+ }
35+ ) ;
2236 } ;
2337}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments