-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathflake.nix
More file actions
39 lines (34 loc) · 736 Bytes
/
Copy pathflake.nix
File metadata and controls
39 lines (34 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
description = "Farnsworth Development Environment";
inputs = {
systems.url = "github:nix-systems/default";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs =
{
self,
nixpkgs,
systems,
}:
let
inherit (nixpkgs) lib;
eachSystem = lib.flip lib.mapAttrs (
lib.genAttrs (import systems) (system: import nixpkgs { inherit system; })
);
in
{
devShells = eachSystem (
system: pkgs: {
default = pkgs.mkShell {
packages = [
pkgs.just
pkgs.nixfmt
pkgs.nodejs
pkgs.pnpm
pkgs.treefmt
];
};
}
);
};
}