mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 03:53:41 +00:00
fltk14: fix build on apple silicon
For some reason having a file called `VERSION` in the package root directory appears to be interfering with the build process: ``` Compiling Fl_cocoa.mm... In file included from Fl_cocoa.mm:39: In file included from ../FL/x.H:32: In file included from ../FL/mac.H:50: [...] In file included from /nix/store/xhvrrnz8n6dxizgig46ijh59m7mfy261-libcxx-11.1.0-dev/include/c++/v1/cstddef:37: ../version:1:1: error: expected unqualified-id 1.4.0 ^ ``` By removing the file, the build succeeds.
This commit is contained in:
parent
4ee3e58fc4
commit
950e2a7efd
|
@ -35,7 +35,10 @@ stdenv.mkDerivation {
|
|||
"--enable-xft"
|
||||
];
|
||||
|
||||
preConfigure = "make clean";
|
||||
preConfigure = ''
|
||||
make clean
|
||||
rm VERSION
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue