Compare commits

..

4 commits

Author SHA1 Message Date
b59c352f73
shell: update fish-on-tmpfs.patch
Fish switched to rust on 4.0, so this patch needed to be updated to
match that.
2025-03-07 09:53:41 +01:00
b624ea249d
hermit/programs.nix: update programs 2025-03-07 09:52:34 +01:00
841c7192ec
nix/module.nix: remove helix cache 2025-03-07 09:52:34 +01:00
e0b8e2dfff
flake: bump inputs
flake: bump inputs
2025-03-07 09:52:34 +01:00
3 changed files with 14 additions and 14 deletions

6
flake.lock generated
View file

@ -17,11 +17,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1741173522,
"narHash": "sha256-k7VSqvv0r1r53nUI/IfPHCppkUAddeXn843YlAC5DR0=",
"lastModified": 1741246872,
"narHash": "sha256-Q6pMP4a9ed636qilcYX8XUguvKl/0/LGXhHcRI91p0U=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d69ab0d71b22fa1ce3dbeff666e6deb4917db049",
"rev": "10069ef4cf863633f57238f179a0297de84bd8d3",
"type": "github"
},
"original": {

View file

@ -13,12 +13,13 @@
calc
# calibre
cbonsai
cinny-desktop
cmus
difftastic
element
element-desktop
emacs30-pgtk
# evince
evince
eza
firefox
fftw
@ -68,7 +69,6 @@
ripgrep
rmpc
signal-desktop
sioyek
smartmontools
taskwarrior3
taskwarrior-tui

View file

@ -1,10 +1,10 @@
--- a/src/path.cpp
+++ b/src/path.cpp
@@ -384,7 +384,7 @@ static const base_directory_t &get_data_directory() {
}
static const base_directory_t &get_config_directory() {
- static base_directory_t s_dir = make_base_directory(L"XDG_CONFIG_HOME", L"/.config/fish");
+ static base_directory_t s_dir = make_base_directory(L"XDG_RUNTIME_DIR", L"/.config/fish");
return s_dir;
--- a/src/path.rs
+++ b/src/path.rs
@@ -781,7 +781,7 @@ fn get_cache_directory() -> &'static BaseDirectory {
fn get_config_directory() -> &'static BaseDirectory {
static DIR: Lazy<BaseDirectory> =
- Lazy::new(|| make_base_directory(L!("XDG_CONFIG_HOME"), L!("/.config/fish")));
+ Lazy::new(|| make_base_directory(L!("XDG_RUNTIME_DIR"), L!("/.config/fish")));
&DIR
}