Revision 39df334742eaeeda9e0c392d1437495ab1713f0c authored by Felix Puscasu on 25 January 2024, 15:33:49 UTC, committed by Marge Bot on 02 February 2024, 16:09:40 UTC
1 parent 6adbead
overlays.nix
{
lib,
stdenv,
libiconv,
pkg-config,
}: {
pick-latest-packages = final: prev:
builtins.mapAttrs
(name: versions: versions.latest)
prev.repository.packages;
common-overlay = final: prev:
lib.optionalAttrs (lib.hasAttr "ocaml-base-compiler" prev) {
ocaml-base-compiler = prev.ocaml-base-compiler.override {
# Compile faster!
jobs = "$NIX_BUILD_CORES";
};
}
// {
conf-pkg-config = final.lib.overrideNativeDepends prev.conf-pkg-config [pkg-config];
};
darwin-overlay = final: prev: {
hacl-star-raw = prev.hacl-star-raw.overrideAttrs (old: {
# Uses unsupported command-line flags
NIX_CFLAGS_COMPILE = ["-Wno-unused-command-line-argument"];
});
class_group_vdf = prev.class_group_vdf.overrideAttrs (old: {
hardeningDisable =
(old.hardeningDisable or [])
++ ["stackprotector"];
});
# This package makes no sense to build on MacOS. Some OPAM package
# incorrectly depends on it universally.
inotify = null;
};
fix-rust-packages = final: prev: {
conf-rust-2021 = prev.conf-rust-2021.overrideAttrs (old: {
propagatedNativeBuildInputs =
(old.propagatedNativeBuildInputs or [])
++
# Upstream conf-rust* packages don't request libiconv
[libiconv];
});
};
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...