File tree Expand file tree Collapse file tree 2 files changed +46
-4
lines changed Expand file tree Collapse file tree 2 files changed +46
-4
lines changed Original file line number Diff line number Diff line change 33 perSystem = { config , ... } :
44 let
55 typescriptFlake =
6- config . overlayAttrs . extras . typescriptFlake {
6+ config . lbf-nix . typescriptFlake {
77 name = "lbr-plutus" ;
88 src = ./. ;
99 dependencies = [ config . packages . "lbr-prelude-typescript-tgz" ] ;
1010 } ;
1111 in
1212 {
13- inherit ( typescriptFlake ) packages checks devShells ;
13+
14+ packages = {
15+ lbr-plutus-typescript = typescriptFlake . packages . lbr-plutus-typescript ;
16+ lbr-plutus-typescript-tgz = typescriptFlake . packages . lbr-plutus-typescript-tgz ;
17+ lbr-plutus-typescript-node2nix = typescriptFlake . packages . lbr-plutus-typescript-node2nix ;
18+ } ;
19+
20+ devShells = {
21+ lbr-plutus-typescript = typescriptFlake . devShells . lbr-plutus-typescript ;
22+ } ;
23+
24+ checks = {
25+ lbr-plutus-typescript-test = typescriptFlake . checks . lbr-plutus-typescript-test ;
26+ } ;
27+
28+ # TODO(jaredponn): for some reason, writing the more terse `inherit`
29+ # seems to cause infinite recursion.
30+ # ```
31+ # inherit (typescriptFlake) packages checks devShells;
32+ # ```
33+ # So instead, we explicitly write out all the attribute names and what
34+ # they are assigned to.
1435 } ;
1536}
Original file line number Diff line number Diff line change 33 perSystem = { config , ... } :
44 let
55 typescriptFlake =
6- config . overlayAttrs . extras . typescriptFlake {
6+ config . lbf-nix . typescriptFlake {
77 name = "lbr-prelude" ;
88 src = ./. ;
99 } ;
1010 in
1111 {
12- inherit ( typescriptFlake ) packages checks devShells ;
12+ packages = {
13+ lbr-prelude-typescript = typescriptFlake . packages . lbr-prelude-typescript ;
14+ lbr-prelude-typescript-tgz = typescriptFlake . packages . lbr-prelude-typescript-tgz ;
15+ lbr-prelude-typescript-node2nix = typescriptFlake . packages . lbr-prelude-typescript-node2nix ;
16+ } ;
17+
18+ devShells =
19+ {
20+ lbr-prelude-typescript = typescriptFlake . devShells . lbr-prelude-typescript ;
21+ } ;
22+
23+ checks = {
24+ lbr-prelude-typescript-test = typescriptFlake . checks . lbr-prelude-typescript-test ;
25+ } ;
26+
27+ # TODO(jaredponn): for some reason, writing the more terse `inherit`
28+ # seems to cause infinite recursion.
29+ # ```
30+ # inherit (typescriptFlake) packages checks devShells;
31+ # ```
32+ # So instead, we explicitly write out all the attribute names and what
33+ # they are assigned to.
1334 } ;
1435
1536}
You can’t perform that action at this time.
0 commit comments