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
4 changed files with 14 additions and 16 deletions

6
flake.lock generated
View file

@ -17,11 +17,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1739866667,
"narHash": "sha256-EO1ygNKZlsAC9avfcwHkKGMsmipUk1Uc0TbrEZpkn64=",
"lastModified": 1741246872,
"narHash": "sha256-Q6pMP4a9ed636qilcYX8XUguvKl/0/LGXhHcRI91p0U=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "73cf49b8ad837ade2de76f87eb53fc85ed5d4680",
"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

@ -138,12 +138,10 @@ in {
# Substituters to pull from.
substituters = [
"https://cache.nixos.org" # funny binary cache
"https://helix.cachix.org" # a chache for helix
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs="
];
};
};

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
}