about summary refs log tree commit diff stats
path: root/pkgs/by-name/ri/river-mk-keymap/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkgs/by-name/ri/river-mk-keymap/flake.nix33
1 files changed, 27 insertions, 6 deletions
diff --git a/pkgs/by-name/ri/river-mk-keymap/flake.nix b/pkgs/by-name/ri/river-mk-keymap/flake.nix
index 95a14456..b338e4c9 100644
--- a/pkgs/by-name/ri/river-mk-keymap/flake.nix
+++ b/pkgs/by-name/ri/river-mk-keymap/flake.nix
@@ -1,3 +1,12 @@
+# nixos-config - My current NixOS configuration
+#
+# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# This file is part of my nixos-config.
+#
+# You should have received a copy of the License along with this program.
+# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
 {
   description = "A smart way to configure river keybindings";
 
@@ -8,15 +17,27 @@
   outputs = {nixpkgs, ...}: let
     system = "x86_64-linux";
     pkgs = nixpkgs.legacyPackages."${system}";
+
+    nativeBuildInputs = [
+      pkgs.pkg-config
+    ];
+
+    buildInputs = [
+      pkgs.wayland
+      pkgs.libxkbcommon
+      pkgs.fontconfig
+    ];
   in {
     devShells."${system}".default = pkgs.mkShell {
-      packages = with pkgs; [
-        cargo
-        clippy
-        rustc
-        rustfmt
+      inherit nativeBuildInputs buildInputs;
+
+      packages = [
+        pkgs.cargo
+        pkgs.clippy
+        pkgs.rustc
+        pkgs.rustfmt
 
-        cargo-edit
+        pkgs.cargo-edit
       ];
     };
   };