20 lines
422 B
Nix
20 lines
422 B
Nix
{
|
|
description = "My rust development shell";
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
};
|
|
outputs = {nixpkgs, ...}: let
|
|
system = "x86_64-linux";
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
in {
|
|
devShells."${system}" = {
|
|
default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
dotnetCorePackages.sdk_9_0-bin
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|