DEVELOPMENT ENVIRONMENT

~liljamo/src.quest-anemos

ref: 1b204846bed46cd865f212be1a3534c568db2967 src.quest-anemos/flake.nix -rw-r--r-- 737 bytes
1b204846Jonni Liljamo fix(sqmeta): only format if custom 8 days ago
                                                                                
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
{
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
    flake-parts.url = "github:hercules-ci/flake-parts";

    makeimg = {
      url = "sourcehut:~liljamo/makeimg.nix?host=git.src.quest";
      inputs = {
        nixpkgs.follows = "nixpkgs";
        flake-parts.follows = "flake-parts";
      };
    };
  };

  outputs = inputs @ {...}:
    inputs.flake-parts.lib.mkFlake {inherit inputs;} {
      systems = ["x86_64-linux"];
      perSystem = {
        pkgs,
        system,
        ...
      }: {
        devShells.default = pkgs.mkShell {
          buildInputs = with pkgs; [
            inputs.makeimg.packages.${system}.default

            # tools
            just
          ];
        };
      };
    };
}