diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-29 18:48:07 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-29 18:48:07 +0100 |
commit | cbd9aec4bf2e488156f5dc101271d572af0cd2ca (patch) | |
tree | 57c7b6397084c1c386aab1a25f1fa93e84480338 /pkgs/by-name/ya/yambar-modules/flake.nix | |
parent | fix(modules/lf/cmds/set_clipboard_path): Provide feedback to the user (diff) | |
download | nixos-config-cbd9aec4bf2e488156f5dc101271d572af0cd2ca.zip |
chore(pkgs/by-name/ya/{cpu,memory}): Merge
There is no reason to keep these two programs separate.
Diffstat (limited to 'pkgs/by-name/ya/yambar-modules/flake.nix')
-rw-r--r-- | pkgs/by-name/ya/yambar-modules/flake.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/by-name/ya/yambar-modules/flake.nix b/pkgs/by-name/ya/yambar-modules/flake.nix new file mode 100644 index 00000000..e3d0cd49 --- /dev/null +++ b/pkgs/by-name/ya/yambar-modules/flake.nix @@ -0,0 +1,32 @@ +{ + description = "Extension modules for yambar(1)"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { + 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 + ]; + }; + }); +} +# vim: ts=2 + |