Skip to content

Commit

Permalink
kernel: improve modDirVersion error message
Browse files Browse the repository at this point in the history
Now prints the current modDirVersion.  Close #31887.
  • Loading branch information
teto authored and vcunat committed Nov 21, 2017
1 parent 8e3b8a6 commit 28f9262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/os-specific/linux/kernel/manual-config.nix
Expand Up @@ -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
Expand Down

0 comments on commit 28f9262

Please sign in to comment.