about summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-09-25 04:48:12 +0200
committeraszlig <aszlig@nix.build>2018-09-25 04:48:12 +0200
commitb4526040a21303a1822fcad348e9b9e39a3876b9 (patch)
tree316ed8c76555ee288a4e807a0ed45294701e8f62 /pkgs/servers
parent9920215d005db148564e826478474faa236a4e75 (diff)
downloadnixlib-b4526040a21303a1822fcad348e9b9e39a3876b9.tar
nixlib-b4526040a21303a1822fcad348e9b9e39a3876b9.tar.gz
nixlib-b4526040a21303a1822fcad348e9b9e39a3876b9.tar.bz2
nixlib-b4526040a21303a1822fcad348e9b9e39a3876b9.tar.lz
nixlib-b4526040a21303a1822fcad348e9b9e39a3876b9.tar.xz
nixlib-b4526040a21303a1822fcad348e9b9e39a3876b9.tar.zst
nixlib-b4526040a21303a1822fcad348e9b9e39a3876b9.zip
autoPatchelfHook: Silence errors in isExecutable
The "maxx" package recursively runs isExecutable on a bunch of files and
since the change to use "readelf" instead of "file" a lot of errors like
this one are printed during build:

  readelf: Error: Not an ELF file - it has the wrong magic bytes at the
  start

While the isExecutable was never meant to be used outside of the
autoPatchelfHook, it's still a good idea to silence the errors because
whenever readelf fails, it clearly indicates that the file in question
is not a valid ELF file.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/servers')
0 files changed, 0 insertions, 0 deletions