about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tvix/default.nix12
1 files changed, 0 insertions, 12 deletions
diff --git a/tvix/default.nix b/tvix/default.nix
index e1b8781ba603..98e9fd01e83b 100644
--- a/tvix/default.nix
+++ b/tvix/default.nix
@@ -36,18 +36,6 @@ let
     inherit pkgs;
     nixpkgs = pkgs.path;
 
-    # Hack to fix Darwin build
-    # See https://github.com/NixOS/nixpkgs/issues/218712
-    buildRustCrateForPkgs = pkgs:
-      if pkgs.stdenv.isDarwin then
-        let
-          buildRustCrate = pkgs.buildRustCrate;
-          buildRustCrate_ = args: buildRustCrate args // { dontStrip = true; };
-          override = o: args: buildRustCrate.override o (args // { dontStrip = true; });
-        in
-        pkgs.makeOverridable override { }
-      else pkgs.buildRustCrate;
-
     defaultCrateOverrides = pkgs.defaultCrateOverrides // {
       zstd-sys = prev: {
         nativeBuildInputs = prev.nativeBuildInputs or [ ];