We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a851c3 commit e30d52fCopy full SHA for e30d52f
1 file changed
flake.nix
@@ -0,0 +1,28 @@
1
+{
2
+ description = "DocSearch dev environment";
3
+
4
+ inputs = {
5
+ nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
6
+ };
7
8
+ outputs = { self, nixpkgs }:
9
+ let
10
+ systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
11
+ forAllSystems = nixpkgs.lib.genAttrs systems;
12
+ in
13
+ {
14
+ devShells = forAllSystems (system:
15
16
+ pkgs = import nixpkgs { inherit system; };
17
18
19
+ default = pkgs.mkShell {
20
+ packages = [
21
+ pkgs.nodejs_22
22
+ pkgs.yarn-berry
23
+ pkgs.nodePackages.typescript
24
+ ];
25
26
+ });
27
28
+}
0 commit comments