aboutsummaryrefslogtreecommitdiff
path: root/tests/nar.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-11-23 19:15:21 +0100
committerLudovic Courtès <ludo@gnu.org>2014-11-23 19:19:35 +0100
commitc23d17095db0611d8ee32357f17da441bcb0bc75 (patch)
tree767b4d10bcedbeea907ba014ecafd929a8309867 /tests/nar.scm
parent1d1fa9327c839bf7af92dd38d8306df0d456c11e (diff)
downloadguix-c23d17095db0611d8ee32357f17da441bcb0bc75.tar
guix-c23d17095db0611d8ee32357f17da441bcb0bc75.tar.gz
utils: 'elf-file?' and 'ar-file?' return #f for directories.
This avoids uncaught exceptions when the 'strip' phase would call these procedures on symlinks to directories, such as 'lib/terminfo' in ncurses (see <http://hydra.gnu.org/build/167310/nixlog/1/tail-reload>.) * guix/build/utils.scm (file-header-match): Catch 'system-error', and return #f upon EISDIR.
Diffstat (limited to 'tests/nar.scm')
0 files changed, 0 insertions, 0 deletions