diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-11-22 21:52:57 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-11-22 21:52:57 +0100 |
commit | 2bbc6db5e22b0361c166c89210c7a6fd9842db8c (patch) | |
tree | 9355aacfc99b7df223040e86e06c58be8a3bc5f0 /guix/build-system | |
parent | 91ee959b03e9e45727761823a4fcc1046e0aa450 (diff) | |
download | gnu-guix-2bbc6db5e22b0361c166c89210c7a6fd9842db8c.tar gnu-guix-2bbc6db5e22b0361c166c89210c7a6fd9842db8c.tar.gz |
utils: Factorize magic bytes detection.
* guix/build/utils.scm (file-header-match): New procedure.
(%elf-magic-bytes): New variable.
(elf-file?, ar-file?): Define using 'file-header-match'.
Diffstat (limited to 'guix/build-system')
0 files changed, 0 insertions, 0 deletions