aboutsummaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authortilpner2023-10-15 17:22:07 +0200
committertilpner2023-10-15 17:22:07 +0200
commit61083d614962dfeb69fdf767c5b0466b6efd413c (patch)
tree41643de13ad83da600f1a4aa814f04756a63d23f /default.nix
parent0494c6341a9a34323bd68323a59c2152d4cc4a17 (diff)
downloadrpb-s3-master.tar.gz
rpb-s3-master.tar.xz
rpb-s3-master.zip
Update dependencies, add flakeHEADmaster
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