forked from mirrors/nixpkgs
66bbee3b81
Darwin machines come with a case-insensitive filesystem by default. The gflags package's source contains a file 'BUILD' and the build process attempts to create a directory called 'build', which fails on case-insensitive filesystems. Add a prePatch hook to rename the BUILD file (which is for use with an unrelated build tool) to something that doesn't conflict with the 'build' directory. This hook allows this derivation to be built on case-insensitive filesystems. Add metadata to the derivation because previously it had none. |
||
---|---|---|
.. | ||
default.nix |