diff options
author | tilpner | 2023-10-15 17:22:07 +0200 |
---|---|---|
committer | tilpner | 2023-10-15 17:22:07 +0200 |
commit | 61083d614962dfeb69fdf767c5b0466b6efd413c (patch) | |
tree | 41643de13ad83da600f1a4aa814f04756a63d23f /default.nix | |
parent | 0494c6341a9a34323bd68323a59c2152d4cc4a17 (diff) | |
download | rpb-s3-master.tar.gz rpb-s3-master.tar.xz rpb-s3-master.zip |
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 10 |
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 |