about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tvix/default.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/tvix/default.nix b/tvix/default.nix
index 98e9fd01e83b..d082e955daaa 100644
--- a/tvix/default.nix
+++ b/tvix/default.nix
@@ -32,10 +32,7 @@ let
     };
 
   # Load the crate2nix crate tree.
-  crates = import ./Cargo.nix {
-    inherit pkgs;
-    nixpkgs = pkgs.path;
-
+  crates = pkgs.callPackage ./Cargo.nix {
     defaultCrateOverrides = pkgs.defaultCrateOverrides // {
       zstd-sys = prev: {
         nativeBuildInputs = prev.nativeBuildInputs or [ ];