forked from tokio-rs/console
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
24 lines (22 loc) · 665 Bytes
/
flake.nix
File metadata and controls
24 lines (22 loc) · 665 Bytes
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 = "The Tokio console: a debugger for async Rust.";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/release-21.11";
flake-utils = {
url = "github:numtide/flake-utils";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
tokio-console = import ./nix { inherit pkgs; };
devShell = import ./nix/shell.nix { inherit pkgs; };
in
{
inherit devShell;
packages = { inherit tokio-console; };
defaultPackage = tokio-console;
});
}