From 736d4483985376aac995a5526c6a7f47edea0d2b Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 28 Jan 2024 18:20:47 +0100 Subject: feat(sys/nixpkgs/pkgs/comments): Init This rewrite of the `comments` script even provides nested comments --- sys/nixpkgs/pkgs/comments/flake.nix | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 sys/nixpkgs/pkgs/comments/flake.nix (limited to 'sys/nixpkgs/pkgs/comments/flake.nix') 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 + ]; + }; + })); +} -- cgit 1.4.1