Warp has been failing to build in the darwin sandbox for a long time,
because of some failing tests, even with local networking enabled. This
does not surface when using it from the cache, because hydra builds
without sandbox. But for development / nixpkgs-review, this is heavily
annoying. Disabling these two tests makes the build pass on the
community builder for me.
* Still skip "rdrand tests" for aarch64-linux, as the ARM64 builders in
NixOS CI build infrastructure don't seem to support the FEAT_RNG of
ARMv8.5-A
Signed-off-by: Mika Tammi <mikatammi@gmail.com>
Applies the same workaround used by `hercules-ci-agent` that allows us to correctly resolve symbols from nix libraries.
Re-enables the test suite, since it now builds.
By default text-icu sets homebrew=true. This can cause a nix build
of text-icu to accidentally link the homebrew icu. It can also
cause "doesn't work on my machine" issues when an old homebrew version
with icu is installed on a mac and is accidentally picked up.
cabal2nix doesn't have a separate bin output, but cabal2nix-unstable
does (now?), so copying over the code doesn't work. Just stop hardcoding
the bin output in both cases.
(cherry picked from commit ec426cc387)
cabal2nix doesn't have a separate bin output, but cabal2nix-unstable
does (now?), so copying over the code doesn't work. Just stop hardcoding
the bin output in both cases.
These dependencies need to be pulled from the same unstable commit that
cabal2nix is pulled from, otherwise changes to any of them will not be
in effect and possibly break the build.
(cherry picked from commit 631661e66c)
These dependencies need to be pulled from the same unstable commit that
cabal2nix is pulled from, otherwise changes to any of them will not be
in effect and possibly break the build.
This was done with booxter’s fantastic [nix-clean-apple_sdk] tool,
simply modified to look for `libobjc` rather than the existing list he
already used in <https://github.com/NixOS/nixpkgs/pull/398707>. Some
manual work was applied, including cleaning up a string interpolation
in the terrifying MacVim derivation, stray comments, empty lists,
function parameters, and `inherit`s, including all of the references in
`all-packages.nix`.
[nix-clean-apple_sdk]: https://github.com/booxter/nix-clean-apple_sdk
They are not doing anything right now. This is in preparation for their
complete removal from the tree.
Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.
Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk
Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>