aboutsummaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/default.nix b/default.nix
index d4555de..455dd3e 100644
--- a/default.nix
+++ b/default.nix
@@ -1,10 +1,11 @@
-{ pkgs ? import <nixpkgs> {},
+{
+ pkgs ? import <nixpkgs> {},
callPackage ? pkgs.callPackage,
defaultCrateOverrides ? pkgs.defaultCrateOverrides,
- buildRustCrate ? pkgs.buildRustCrate }:
+ buildRustCrate ? pkgs.buildRustCrate
+}:
let
-
customBuildRustCrateForPkgs = pkgs: pkgs.buildRustCrate.override {
defaultCrateOverrides = defaultCrateOverrides // {
# leaving this dead override for future reference
@@ -18,4 +19,5 @@ let
inherit pkgs;
buildRustCrateForPkgs = customBuildRustCrateForPkgs;
};
-in cargo.rootCrate.build
+in
+ cargo.rootCrate.build