15 lines
492 B
Nix
15 lines
492 B
Nix
|
{ pkgs, ... }: {
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
(st.overrideAttrs (oldAttrs: rec {
|
||
|
configFile = writeText "config.def.h" (builtins.readFile ../opt/st/st.h);
|
||
|
postPatch = "${oldAttrs.postPatch}\n cp ${configFile} config.def.h";
|
||
|
patches = [
|
||
|
(fetchpatch {
|
||
|
url = "https://st.suckless.org/patches/scrollback/st-scrollback-0.8.5.diff";
|
||
|
sha256 = "0mgsklws6jsrngcsy64zmr604qsdlpd5pqsa3pci7j3gn8im4zyw";
|
||
|
})
|
||
|
];
|
||
|
}))
|
||
|
];
|
||
|
}
|