-
-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip: std skelleton (missing d2n function)
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
inputs = { | ||
std.url = "github:divnix/std"; | ||
dream2nix.url = "github:nix-community/dream2nix"; | ||
dream2nix.inputs.nixpkgs.follows = "std/nixpkgs"; | ||
nixpkgs.follows = "std/nixpkgs"; | ||
src.url = "github:prettier/prettier/2.4.1"; | ||
src.flake = false; | ||
}; | ||
|
||
outputs = { | ||
std, | ||
self, | ||
... | ||
} @ inputs: | ||
std.growOn { | ||
inherit inputs; | ||
cellsFrom = ./nix; | ||
cellBlocks = with std.blockTypes; [ | ||
(installables "packages" {ci.build = true;}) | ||
]; | ||
} | ||
# compat with `nix` cli | ||
{ | ||
packages = std.harvest self ["app" "packages"]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
inputs, | ||
cell, | ||
}: rec { | ||
default = app; | ||
app = { | ||
source = inputs.src; | ||
projects = { | ||
prettier = { | ||
name = "prettier"; | ||
subsystem = "nodejs"; | ||
translator = "yarn-lock"; | ||
}; | ||
}; | ||
}; | ||
} |