aboutsummaryrefslogtreecommitdiff
path: root/examples/simple/flake.nix
blob: 366464de461c10afc3e9a50751fd3cd22444a351 (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
26
27
28
29
{
  description = "futils demo.";

  inputs.futils = {
    url = "git+https://git.sorre.xyz/miranb/futils";
    inputs.nixpkgs.follows = "nixpkgs";
  };

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