From ddd2514cdb94b64ee60e502f714f48f585656c03 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Tue, 19 Mar 2024 11:30:00 +0100 Subject: [PATCH] activation script: fix kernel warning --- modules/core/base.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/base.nix b/modules/core/base.nix index f74cd9e..6fc1863 100755 --- a/modules/core/base.nix +++ b/modules/core/base.nix @@ -16,8 +16,8 @@ F_BOLD="\033[1m" C_RED="\033[38;5;9m" ${pkgs.diffutils}/bin/cmp --silent \ - <(readlink /run/booted-system/{initrd,kernel,kernel-modules}) \ <(readlink /run/current-system/{initrd,kernel,kernel-modules}) \ + <(readlink $systemConfig/{initrd,kernel,kernel-modules}) \ || echo -e "''${F_BOLD}''${C_RED}Kernel version changed, reboot is advised.''${NO_FORMAT}" '';