about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/comments/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sys/nixpkgs/pkgs/comments/flake.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/sys/nixpkgs/pkgs/comments/flake.nix b/sys/nixpkgs/pkgs/comments/flake.nix
new file mode 100644
index 00000000..f5e44a65
--- /dev/null
+++ b/sys/nixpkgs/pkgs/comments/flake.nix
@@ -0,0 +1,31 @@
+{
+  description = "comments";
+
+  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
+        cargo-audit
+      ];
+    };
+  }));
+}