diff options
Diffstat (limited to '')
-rw-r--r-- | sys/nixpkgs/pkgs/yt/flake.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sys/nixpkgs/pkgs/yt/flake.nix b/sys/nixpkgs/pkgs/yt/flake.nix new file mode 100644 index 00000000..5f711304 --- /dev/null +++ b/sys/nixpkgs/pkgs/yt/flake.nix @@ -0,0 +1,36 @@ +{ + 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 + cargo-clippy + cargo-fmt + clippy-driver + rust-gdb + rust-gdbgui + rust-lldb + rustc + rustdoc + rustfmt + + cargo-edit + cargo-expand + ]; + }; + })); +} |