module: add better trace warning

This commit is contained in:
lassulus 2023-05-30 10:41:55 +02:00
parent f0b9f374bb
commit 4dd2d14596

View file

@ -48,7 +48,7 @@ in
'';
# we keep this old output for compatibility
system.build.disko = builtins.trace "this output is deprecated, plase use .diskoScript instead" (
system.build.disko = builtins.trace "the .disko output is deprecated, plase use .diskoScript instead" (
(diskoLib.writeCheckedBash { inherit pkgs checked; }) "disko" ''
export PATH=${lib.makeBinPath (diskoLib.packages cfg.devices pkgs)}:$PATH
${diskoLib.zapCreateMount cfg.devices}