aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
blob: ec475fa10df74c6c6b41a98817ad4ed002d3c883 (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
{
  description = "Aerogramme";

  inputs = {
    cargo2nix = {
      type = "github";
      owner = "Alexis211";
      repo = "cargo2nix";
      ref = "custom_unstable";
    };
  };

  outputs = { self, nixpkgs, cargo2nix }: let
    pkgs = import nixpkgs { system = "x86_64-linux"; };
    in {
    devShells.x86_64-linux.default = pkgs.mkShell {
      buildInputs = [
        cargo2nix.packages.x86_64-linux.default
      ];
    };
    packages.x86_64-linux.aerogramme = nixpkgs.legacyPackages.x86_64-linux.hello;
    packages.x86_64-linux.default = self.packages.x86_64-linux.aerogramme;
  };
}