aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/sources/yt/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/sources/yt/flake.nix')
-rw-r--r--pkgs/sources/yt/flake.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/sources/yt/flake.nix b/pkgs/sources/yt/flake.nix
new file mode 100644
index 00000000..561b1c0d
--- /dev/null
+++ b/pkgs/sources/yt/flake.nix
@@ -0,0 +1,30 @@
+{
+ description = "yt";
+
+ inputs = {
+ nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
+
+ flake-utils.url = "github:numtide/flake-utils";
+ };
+
+ outputs = {
+ self,
+ nixpkgs,
+ flake-utils,
+ }: (flake-utils.lib.eachDefaultSystem (system: let
+ pkgs = nixpkgs.legacyPackages."${system}";
+ in {
+ devShells.default = pkgs.mkShell {
+ packages = with pkgs; [
+ # rust stuff
+ cargo
+ clippy
+ rustc
+ rustfmt
+
+ cargo-edit
+ cargo-expand
+ ];
+ };
+ }));
+}