This website requires JavaScript.
Explore
Help
Sign In
danielsiepmann
/
nixpkgs
Watch
1
Star
0
Code
Releases
Activity
674edb9e74
nixpkgs
/
overlays
/
st
/
default.nix
8 lines
95 B
Nix
Raw
Normal View
History
Unescape
Escape
Add overlay for st Configure my own color scheme. Configure preferred word delimiters.
2022-01-31 12:03:10 +01:00
self
:
super
:
{
Do not make overlay unnecessary complex It actually is not necessary to use overrideAttrs as dmenu and st both expose "patches" attribute which can easily be overridden. Maybe it was necessary back then, as dmenu already had a patch as fallback: https://github.com/NixOS/nixpkgs/blob/4b610d814e09857c974ac2f65374a5baba0902ff/pkgs/applications/misc/dmenu/default.nix#L1 See: https://mamot.fr/@Thib/107716798899455762
2022-01-31 12:27:07 +01:00
st
=
super
.
st
.
override
{
patches
=
[
Add overlay for st Configure my own color scheme. Configure preferred word delimiters.
2022-01-31 12:03:10 +01:00
./settings.patch
]
;
Do not make overlay unnecessary complex It actually is not necessary to use overrideAttrs as dmenu and st both expose "patches" attribute which can easily be overridden. Maybe it was necessary back then, as dmenu already had a patch as fallback: https://github.com/NixOS/nixpkgs/blob/4b610d814e09857c974ac2f65374a5baba0902ff/pkgs/applications/misc/dmenu/default.nix#L1 See: https://mamot.fr/@Thib/107716798899455762
2022-01-31 12:27:07 +01:00
}
;
Add overlay for st Configure my own color scheme. Configure preferred word delimiters.
2022-01-31 12:03:10 +01:00
}
Copy permalink