stdenv.targetPlatform really shouldn't be used by software that
doesn't generate or manipulate binaries. I reviewed all uses of
targetPlatform outside of pkgs/development/compilers and pkgs/stdenv
and replaced those which weren't involved in something which fits
these criteria.
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
As far as I can tell, this can cause compile failures when building
the vendored abseil_cpp if choosing a target arch that does not
support sse. This might be possible to determine programmatically, but
it is more flexible to let the user decide.
If -DTARGET_ARCHITECTURE is supplied arango's cmake configuration will
not use /proc/cpuinfo for feature detection. However, `generic` and
`none` options both fail when building the vendored v8.
This workaround provides some defaults, but warns if no override is
provided.
USE_OPTIMIZE_FOR_ARCHITECTURE was removed without commit in a prior
commit. This is because it was removed upstream:
cc860c333c
This is unfortunate - now /proc/cpuinfo is read unconditionally for
feature detection.
Some other means of feature detection will have to be found.
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/arangodb/versions.
These checks were done:
- built on NixOS
- /nix/store/naj61i7k3knl6h4anl6ilar8rsb5q44c-arangodb-3.3.11/bin/foxx-manager passed the binary check.
- /nix/store/naj61i7k3knl6h4anl6ilar8rsb5q44c-arangodb-3.3.11/bin/arangoinspect passed the binary check.
- /nix/store/naj61i7k3knl6h4anl6ilar8rsb5q44c-arangodb-3.3.11/bin/arangobench passed the binary check.
- /nix/store/naj61i7k3knl6h4anl6ilar8rsb5q44c-arangodb-3.3.11/bin/arangodump passed the binary check.
- /nix/store/naj61i7k3knl6h4anl6ilar8rsb5q44c-arangodb-3.3.11/bin/arangoexport passed the binary check.
- /nix/store/naj61i7k3knl6h4anl6ilar8rsb5q44c-arangodb-3.3.11/bin/arangoimp passed the binary check.
- /nix/store/naj61i7k3knl6h4anl6ilar8rsb5q44c-arangodb-3.3.11/bin/arangorestore passed the binary check.
- /nix/store/naj61i7k3knl6h4anl6ilar8rsb5q44c-arangodb-3.3.11/bin/arangosh passed the binary check.
- /nix/store/naj61i7k3knl6h4anl6ilar8rsb5q44c-arangodb-3.3.11/bin/arangovpack passed the binary check.
- /nix/store/naj61i7k3knl6h4anl6ilar8rsb5q44c-arangodb-3.3.11/bin/arango-dfdb passed the binary check.
- /nix/store/naj61i7k3knl6h4anl6ilar8rsb5q44c-arangodb-3.3.11/bin/arango-init-database passed the binary check.
- /nix/store/naj61i7k3knl6h4anl6ilar8rsb5q44c-arangodb-3.3.11/bin/arango-secure-installation passed the binary check.
- /nix/store/naj61i7k3knl6h4anl6ilar8rsb5q44c-arangodb-3.3.11/bin/arangod passed the binary check.
- 13 of 13 passed binary check by having a zero exit code.
- 0 of 13 passed binary check by having the new version present in output.
- found 3.3.11 with grep in /nix/store/naj61i7k3knl6h4anl6ilar8rsb5q44c-arangodb-3.3.11
- directory tree listing: https://gist.github.com/c85df63a5de699920581d43d50632b57
- du listing: https://gist.github.com/14a76494487774fdcab46a1042b042c8
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/arangodb/versions.
These checks were done:
- built on NixOS
- /nix/store/25nzmn4i7clwvvs00wg3bc1ik7x5a9hr-arangodb-3.3.10/bin/foxx-manager passed the binary check.
- /nix/store/25nzmn4i7clwvvs00wg3bc1ik7x5a9hr-arangodb-3.3.10/bin/arangobench passed the binary check.
- /nix/store/25nzmn4i7clwvvs00wg3bc1ik7x5a9hr-arangodb-3.3.10/bin/arangodump passed the binary check.
- /nix/store/25nzmn4i7clwvvs00wg3bc1ik7x5a9hr-arangodb-3.3.10/bin/arangoexport passed the binary check.
- /nix/store/25nzmn4i7clwvvs00wg3bc1ik7x5a9hr-arangodb-3.3.10/bin/arangoimp passed the binary check.
- /nix/store/25nzmn4i7clwvvs00wg3bc1ik7x5a9hr-arangodb-3.3.10/bin/arangorestore passed the binary check.
- /nix/store/25nzmn4i7clwvvs00wg3bc1ik7x5a9hr-arangodb-3.3.10/bin/arangosh passed the binary check.
- /nix/store/25nzmn4i7clwvvs00wg3bc1ik7x5a9hr-arangodb-3.3.10/bin/arangovpack passed the binary check.
- /nix/store/25nzmn4i7clwvvs00wg3bc1ik7x5a9hr-arangodb-3.3.10/bin/arango-dfdb passed the binary check.
- /nix/store/25nzmn4i7clwvvs00wg3bc1ik7x5a9hr-arangodb-3.3.10/bin/arango-init-database passed the binary check.
- /nix/store/25nzmn4i7clwvvs00wg3bc1ik7x5a9hr-arangodb-3.3.10/bin/arango-secure-installation passed the binary check.
- /nix/store/25nzmn4i7clwvvs00wg3bc1ik7x5a9hr-arangodb-3.3.10/bin/arangod passed the binary check.
- 12 of 12 passed binary check by having a zero exit code.
- 0 of 12 passed binary check by having the new version present in output.
- found 3.3.10 with grep in /nix/store/25nzmn4i7clwvvs00wg3bc1ik7x5a9hr-arangodb-3.3.10
- directory tree listing: https://gist.github.com/8818b9d47b33b5c0025db3d2cf065186
- du listing: https://gist.github.com/3b134770993a508d79b2bf086d761531
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/arangodb/versions.
These checks were done:
- built on NixOS
- /nix/store/qkm6rnrq9rkgcgm2yi7ihmmrg7zl1clg-arangodb-3.3.9/bin/foxx-manager passed the binary check.
- /nix/store/qkm6rnrq9rkgcgm2yi7ihmmrg7zl1clg-arangodb-3.3.9/bin/arangobench passed the binary check.
- /nix/store/qkm6rnrq9rkgcgm2yi7ihmmrg7zl1clg-arangodb-3.3.9/bin/arangodump passed the binary check.
- /nix/store/qkm6rnrq9rkgcgm2yi7ihmmrg7zl1clg-arangodb-3.3.9/bin/arangoexport passed the binary check.
- /nix/store/qkm6rnrq9rkgcgm2yi7ihmmrg7zl1clg-arangodb-3.3.9/bin/arangoimp passed the binary check.
- /nix/store/qkm6rnrq9rkgcgm2yi7ihmmrg7zl1clg-arangodb-3.3.9/bin/arangorestore passed the binary check.
- /nix/store/qkm6rnrq9rkgcgm2yi7ihmmrg7zl1clg-arangodb-3.3.9/bin/arangosh passed the binary check.
- /nix/store/qkm6rnrq9rkgcgm2yi7ihmmrg7zl1clg-arangodb-3.3.9/bin/arangovpack passed the binary check.
- /nix/store/qkm6rnrq9rkgcgm2yi7ihmmrg7zl1clg-arangodb-3.3.9/bin/arango-dfdb passed the binary check.
- /nix/store/qkm6rnrq9rkgcgm2yi7ihmmrg7zl1clg-arangodb-3.3.9/bin/arango-init-database passed the binary check.
- /nix/store/qkm6rnrq9rkgcgm2yi7ihmmrg7zl1clg-arangodb-3.3.9/bin/arango-secure-installation passed the binary check.
- /nix/store/qkm6rnrq9rkgcgm2yi7ihmmrg7zl1clg-arangodb-3.3.9/bin/arangod passed the binary check.
- 12 of 12 passed binary check by having a zero exit code.
- 0 of 12 passed binary check by having the new version present in output.
- found 3.3.9 with grep in /nix/store/qkm6rnrq9rkgcgm2yi7ihmmrg7zl1clg-arangodb-3.3.9
- directory tree listing: https://gist.github.com/96b6a91c373183de511e8a58e77045c0
- du listing: https://gist.github.com/58d43e913a2d38280efe4ba36494fddb
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/arangodb/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/9v5zwlwxxk5akankjbrspij0r495izy7-arangodb-3.3.8/bin/foxx-manager --help’ got 0 exit code
- ran ‘/nix/store/9v5zwlwxxk5akankjbrspij0r495izy7-arangodb-3.3.8/bin/foxx-manager help’ got 0 exit code
- ran ‘/nix/store/9v5zwlwxxk5akankjbrspij0r495izy7-arangodb-3.3.8/bin/arangobench --help’ got 0 exit code
- ran ‘/nix/store/9v5zwlwxxk5akankjbrspij0r495izy7-arangodb-3.3.8/bin/arangodump --help’ got 0 exit code
- ran ‘/nix/store/9v5zwlwxxk5akankjbrspij0r495izy7-arangodb-3.3.8/bin/arangoexport --help’ got 0 exit code
- ran ‘/nix/store/9v5zwlwxxk5akankjbrspij0r495izy7-arangodb-3.3.8/bin/arangoimp --help’ got 0 exit code
- ran ‘/nix/store/9v5zwlwxxk5akankjbrspij0r495izy7-arangodb-3.3.8/bin/arangorestore --help’ got 0 exit code
- ran ‘/nix/store/9v5zwlwxxk5akankjbrspij0r495izy7-arangodb-3.3.8/bin/arangosh --help’ got 0 exit code
- ran ‘/nix/store/9v5zwlwxxk5akankjbrspij0r495izy7-arangodb-3.3.8/bin/arangovpack --help’ got 0 exit code
- ran ‘/nix/store/9v5zwlwxxk5akankjbrspij0r495izy7-arangodb-3.3.8/bin/arango-dfdb --help’ got 0 exit code
- ran ‘/nix/store/9v5zwlwxxk5akankjbrspij0r495izy7-arangodb-3.3.8/bin/arango-init-database --help’ got 0 exit code
- ran ‘/nix/store/9v5zwlwxxk5akankjbrspij0r495izy7-arangodb-3.3.8/bin/arango-secure-installation --help’ got 0 exit code
- ran ‘/nix/store/9v5zwlwxxk5akankjbrspij0r495izy7-arangodb-3.3.8/bin/arangod --help’ got 0 exit code
- found 3.3.8 with grep in /nix/store/9v5zwlwxxk5akankjbrspij0r495izy7-arangodb-3.3.8
- directory tree listing: https://gist.github.com/bf252dfee33f01f0180733cc37983efd
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/arangodb/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/lh49lm0kdkijvg9q9kzmacnclh5x2s4m-arangodb-3.3.7/bin/foxx-manager --help’ got 0 exit code
- ran ‘/nix/store/lh49lm0kdkijvg9q9kzmacnclh5x2s4m-arangodb-3.3.7/bin/foxx-manager help’ got 0 exit code
- ran ‘/nix/store/lh49lm0kdkijvg9q9kzmacnclh5x2s4m-arangodb-3.3.7/bin/arangobench --help’ got 0 exit code
- ran ‘/nix/store/lh49lm0kdkijvg9q9kzmacnclh5x2s4m-arangodb-3.3.7/bin/arangodump --help’ got 0 exit code
- ran ‘/nix/store/lh49lm0kdkijvg9q9kzmacnclh5x2s4m-arangodb-3.3.7/bin/arangoexport --help’ got 0 exit code
- ran ‘/nix/store/lh49lm0kdkijvg9q9kzmacnclh5x2s4m-arangodb-3.3.7/bin/arangoimp --help’ got 0 exit code
- ran ‘/nix/store/lh49lm0kdkijvg9q9kzmacnclh5x2s4m-arangodb-3.3.7/bin/arangorestore --help’ got 0 exit code
- ran ‘/nix/store/lh49lm0kdkijvg9q9kzmacnclh5x2s4m-arangodb-3.3.7/bin/arangosh --help’ got 0 exit code
- ran ‘/nix/store/lh49lm0kdkijvg9q9kzmacnclh5x2s4m-arangodb-3.3.7/bin/arangovpack --help’ got 0 exit code
- ran ‘/nix/store/lh49lm0kdkijvg9q9kzmacnclh5x2s4m-arangodb-3.3.7/bin/arango-dfdb --help’ got 0 exit code
- ran ‘/nix/store/lh49lm0kdkijvg9q9kzmacnclh5x2s4m-arangodb-3.3.7/bin/arango-init-database --help’ got 0 exit code
- ran ‘/nix/store/lh49lm0kdkijvg9q9kzmacnclh5x2s4m-arangodb-3.3.7/bin/arango-secure-installation --help’ got 0 exit code
- ran ‘/nix/store/lh49lm0kdkijvg9q9kzmacnclh5x2s4m-arangodb-3.3.7/bin/arangod --help’ got 0 exit code
- found 3.3.7 with grep in /nix/store/lh49lm0kdkijvg9q9kzmacnclh5x2s4m-arangodb-3.3.7
- directory tree listing: https://gist.github.com/3fef3cf0eb3977fe8d69df9bbbedc5a9
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/arangodb/versions.
These checks were done:
- built on NixOS
- ran `/nix/store/q4bysqkv943yxr5bbyg5ph26py192q04-arangodb-3.3.5/bin/arangobench --help` got 0 exit code
- ran `/nix/store/q4bysqkv943yxr5bbyg5ph26py192q04-arangodb-3.3.5/bin/arangobench --version` and found version 3.3.5
- ran `/nix/store/q4bysqkv943yxr5bbyg5ph26py192q04-arangodb-3.3.5/bin/arangodump --help` got 0 exit code
- ran `/nix/store/q4bysqkv943yxr5bbyg5ph26py192q04-arangodb-3.3.5/bin/arangodump --version` and found version 3.3.5
- ran `/nix/store/q4bysqkv943yxr5bbyg5ph26py192q04-arangodb-3.3.5/bin/arangoexport --help` got 0 exit code
- ran `/nix/store/q4bysqkv943yxr5bbyg5ph26py192q04-arangodb-3.3.5/bin/arangoexport --version` and found version 3.3.5
- ran `/nix/store/q4bysqkv943yxr5bbyg5ph26py192q04-arangodb-3.3.5/bin/arangoimp --help` got 0 exit code
- ran `/nix/store/q4bysqkv943yxr5bbyg5ph26py192q04-arangodb-3.3.5/bin/arangoimp --version` and found version 3.3.5
- ran `/nix/store/q4bysqkv943yxr5bbyg5ph26py192q04-arangodb-3.3.5/bin/arangorestore --help` got 0 exit code
- ran `/nix/store/q4bysqkv943yxr5bbyg5ph26py192q04-arangodb-3.3.5/bin/arangorestore --version` and found version 3.3.5
- ran `/nix/store/q4bysqkv943yxr5bbyg5ph26py192q04-arangodb-3.3.5/bin/arangosh --help` got 0 exit code
- ran `/nix/store/q4bysqkv943yxr5bbyg5ph26py192q04-arangodb-3.3.5/bin/arangosh --version` and found version 3.3.5
- ran `/nix/store/q4bysqkv943yxr5bbyg5ph26py192q04-arangodb-3.3.5/bin/arangovpack --help` got 0 exit code
- ran `/nix/store/q4bysqkv943yxr5bbyg5ph26py192q04-arangodb-3.3.5/bin/arangovpack --version` and found version 3.3.5
- ran `/nix/store/q4bysqkv943yxr5bbyg5ph26py192q04-arangodb-3.3.5/bin/arangod --help` got 0 exit code
- ran `/nix/store/q4bysqkv943yxr5bbyg5ph26py192q04-arangodb-3.3.5/bin/arangod --version` and found version 3.3.5
- found 3.3.5 with grep in /nix/store/q4bysqkv943yxr5bbyg5ph26py192q04-arangodb-3.3.5
- directory tree listing: https://gist.github.com/337ef8c0118bd40661d6f7e5ee70d7b0