forked from mirrors/nixpkgs
kernel: improve modDirVersion error message
Now prints the current modDirVersion. Close #31887.
This commit is contained in:
parent
8e3b8a6c2a
commit
28f9262092
|
@ -110,7 +110,7 @@ let
|
|||
make $makeFlags prepare
|
||||
actualModDirVersion="$(cat $buildRoot/include/config/kernel.release)"
|
||||
if [ "$actualModDirVersion" != "${modDirVersion}" ]; then
|
||||
echo "Error: modDirVersion specified in the Nix expression is wrong, it should be: $actualModDirVersion"
|
||||
echo "Error: modDirVersion ${modDirVersion} specified in the Nix expression is wrong, it should be: $actualModDirVersion"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue