From dc46b94d60bfc3c73930f1ac54b01003bebef675 Mon Sep 17 00:00:00 2001 From: fwastring Date: Mon, 2 Jun 2025 20:02:28 +0200 Subject: [PATCH] Added st --- shared/st.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 shared/st.nix diff --git a/shared/st.nix b/shared/st.nix new file mode 100644 index 0000000..d2feed5 --- /dev/null +++ b/shared/st.nix @@ -0,0 +1,12 @@ +{ pkgs, ...}: +{ + environment.systemPackages = with pkgs; [ + (st.overrideAttrs (oldAttrs: rec { + src = builtins.fetchGit { + url = "https://github.com/fwastring/st"; + rev = "384ca157dbedaccf5939d75a6a2ea8137df5862d"; + }; + buildInputs = oldAttrs.buildInputs ++ [ xorg.libX11.dev xorg.libXft imlib2 xorg.libXinerama pkg-config]; + })) + ]; +}