Update stdenv.isLinux and stdenv.isDarwin calls

This commit is contained in:
2026-08-31 20:30:05 +02:00
parent 08c2eb8bfe
commit daf7eb8d75
6 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -58,7 +58,7 @@ in {
in
lib.mkMerge [
# Darwin exclusive config
(lib.mkIf pkgs.stdenv.isDarwin {
(lib.mkIf pkgs.stdenv.hostPlatform.isDarwin {
shellInit = ''
set fish_greeting
yes | fish_config theme save "system-theme"
@@ -81,7 +81,7 @@ in {
})
# Linux exclusive config
(lib.mkIf pkgs.stdenv.isLinux {
(lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
generateCompletions = nixosConfig.programs.fish.generateCompletions;
# TODO: There's a bug with the direnv mechanism: