aboutsummaryrefslogtreecommitdiff
path: root/examples/simple/flake.nix
blob: 3695196d5b6938a581e58bb318728a6f88af63dc (plain)
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
{
  description = "futils demo.";
  inputs.futils.url = "git+https://git.sorre.xyz/miranb/futils";

  outputs =
    {
      self,
      nixpkgs,
      futils,
    }:
    futils.lib.eachSystem (
      system:
      let
        pkgs = nixpkgs.legacyPackages.${system};
      in
      {
        devShells.default = futils.lib.minimalMkShell pkgs {
          packages = with pkgs; [
            git
            hello
          ];
        };
      }
    );
}