aerogramme/flake.nix

25 lines
597 B
Nix
Raw Normal View History

2023-03-13 16:32:23 +00:00
{
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;
};
}