aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-08-29 23:29:03 +0200
committerLudovic Courtès <ludo@gnu.org>2018-08-29 23:32:01 +0200
commit4db7a9dc663c5b26e45ec35538bf68ff87acdf7b (patch)
tree192132ee6c6f43f166c9f2b74c001020775c4737 /nix
parentd258c791441b46705f4360cf141343363d1751f2 (diff)
downloadpatches-4db7a9dc663c5b26e45ec35538bf68ff87acdf7b.tar
patches-4db7a9dc663c5b26e45ec35538bf68ff87acdf7b.tar.gz
linux-modules: Raise an error when a kernel module cannot be found.
Previously we'd get an unhelpful backtrace like this: In gnu/build/linux-modules.scm: 184:47 4 (recursive-module-dependencies _ #:lookup-module _) 98:14 3 (module-dependencies _) 85:18 2 (modinfo-section-contents _) In ice-9/ports.scm: 439:11 1 (call-with-input-file #f #<procedure get-bytevector-al?> ?) In unknown file: 0 (open-file #f "r" #:encoding #f #:guess-encoding #f) ERROR: In procedure open-file: Wrong type (expecting string): #f builder for `/gnu/store/…-linux-modules.drv' failed with exit code 1 * gnu/build/linux-modules.scm (find-module-file): When MODULE cannot be found, raise an error instead of returning #f. This is more useful to the user.
Diffstat (limited to 'nix')
0 files changed, 0 insertions, 0 deletions