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]; + })) + ]; +}