File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed
Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ inputs = {
3+ std . url = "github:divnix/std" ;
4+ dream2nix . url = "github:nix-community/dream2nix" ;
5+ dream2nix . inputs . nixpkgs . follows = "std/nixpkgs" ;
6+ nixpkgs . follows = "std/nixpkgs" ;
7+ src . url = "github:prettier/prettier/2.4.1" ;
8+ src . flake = false ;
9+ } ;
10+
11+ outputs = { std , ...} @ inputs :
12+ std . growOn {
13+ inherit inputs ;
14+ cellsFrom = ./nix ;
15+ cellBlocks = with std . blockTypes ; [
16+ ( installables "packages" { ci . build = true ; } )
17+ ] ;
18+ }
19+ # compat with `nix` cli
20+ {
21+ packages = std . harvest inputs . self [ "app" "packages" ] ;
22+ } ;
23+ }
Original file line number Diff line number Diff line change 1+ {
2+ inputs ,
3+ cell ,
4+ } : {
5+ app = {
6+ source = inputs . src ;
7+ projects = {
8+ prettier = {
9+ name = "prettier" ;
10+ subsystem = "nodejs" ;
11+ translator = "yarn-lock" ;
12+ } ;
13+ } ;
14+ } ;
15+ }
You can’t perform that action at this time.
0 commit comments