blob: 095f0497de44471507cbd1548458276684f883a5 (
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 = "Rust flake";
inputs =
{
nixpkgs.url = "github:nixos/nixpkgs/25.11";
flake-utils.url = "github:numtide/flake-utils";
# flake-utils.follows = "nixpkgs";
};
outputs = { self, nixpkgs, ... }@inputs:
inputs.flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell
{
packages = with pkgs; [
cargo
rustc
rust-analyzer
];
};
});
}
|