diff options
Diffstat (limited to 'third_party/nix')
-rw-r--r-- | third_party/nix/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/nix/default.nix b/third_party/nix/default.nix index 288ac60a106b..6a05135f63c1 100644 --- a/third_party/nix/default.nix +++ b/third_party/nix/default.nix @@ -18,6 +18,11 @@ in stdenv.mkDerivation { version = "2.3.4"; src = ./.; + # Abseil's sources need to be linked into a subproject. + postUnpack = '' + ln -fs ${pkgs.abseil_cpp.src} nix/subprojects/abseil_cpp + ''; + nativeBuildInputs = with pkgs; [ bison clang-tools @@ -51,6 +56,9 @@ in stdenv.mkDerivation { "-Dsandbox_shell=${pkgs.busybox-sandbox-shell}/bin/busybox" ]; + # cmake is only included to build Abseil and its hook should not run + dontUseCmakeConfigure = true; + # Install the various symlinks to the Nix binary which users expect # to exist. postInstall = '' |