summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2025-01-11 22:18:55 -0600
committerTim Keller <tjkeller.xyz>2025-01-11 22:18:55 -0600
commit8465c0fc8ea83f2a0a51c754e71b602a4e8be97a (patch)
tree36e157bf340339e473ffaa1d2d6095ea7a7d601e
parent836a9cb9ee93f03634efd716a464ec42d00e51a9 (diff)
downloadnixos-8465c0fc8ea83f2a0a51c754e71b602a4e8be97a.tar.xz
nixos-8465c0fc8ea83f2a0a51c754e71b602a4e8be97a.zip
st
-rw-r--r--derivations/st/default.nix9
-rw-r--r--modules/root/software/desktop.nix1
2 files changed, 7 insertions, 3 deletions
diff --git a/derivations/st/default.nix b/derivations/st/default.nix
index cf463ab..bce43e5 100644
--- a/derivations/st/default.nix
+++ b/derivations/st/default.nix
@@ -1,8 +1,10 @@
{
lib,
stdenv,
+ fetchzip,
fontconfig,
libX11,
+ libXcursor,
libXext,
libXft,
ncurses,
@@ -11,11 +13,11 @@
stdenv.mkDerivation rec {
pname = "st";
- version = "tj-0.9.2.0";
+ version = "tj-0.9.2.1";
- src = pkgs.fetchZip {
+ src = fetchzip {
url = "https://git.tjkeller.xyz/${pname}/snapshot/${pname}-${version}.tar.xz";
- sha256 = "sha256-xsUHdmicHX/fQQgojVjWfzI82e4NezkmlACOpdPxLE0=";
+ sha256 = "sha256-wGssX7WTKGSKN+NeDqJhZhyMamAhtjo19HeFlBBImkk=";
};
nativeBuildInputs = [
@@ -24,6 +26,7 @@ stdenv.mkDerivation rec {
buildInputs = [
fontconfig
libX11
+ libXcursor
libXext
libXft
ncurses
diff --git a/modules/root/software/desktop.nix b/modules/root/software/desktop.nix
index 649d57b..6d36dbd 100644
--- a/modules/root/software/desktop.nix
+++ b/modules/root/software/desktop.nix
@@ -34,6 +34,7 @@
sxiv
wpa_supplicant_gui
zathura
+ (callPackage ./derivations/st {})
] ++ pkgs.lib.optionals config.software.desktop.chromium.enable [
# Chrome
config.software.desktop.chromium.package