about summary refs log tree commit diff stats
path: root/flake.nix
blob: 5aa629f63ca1ff43714107de6702190d5bfa2254 (plain) (blame)
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
{
  description = "vhack.eu's soft fork of LibRedirect";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/23.05";

    # inputs for following
    systems = {
      url = "github:nix-systems/x86_64-linux"; # only evaluate for this system
    };
    flake-utils = {
      url = "github:numtide/flake-utils";
      inputs = {
        systems.follows = "systems";
      };
    };
  };

  outputs = {
    nixpkgs,
    flake-utils,
    ...
  }:
    flake-utils.lib.eachDefaultSystem (system: let
      pkgs = nixpkgs.legacyPackages."${system}";

    in {
      devShells.default = pkgs.mkShell {
        packages = [
          pkgs.nodejs
          pkgs.nodePackages_latest.web-ext
          pkgs.nodePackages_latest.prettier
        ];
      };
    });
}
# vim: ts=2