From 3801d894bead039da3e353f0d96e61a0cb1106a0 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Wed, 4 May 2022 11:59:28 -0400 Subject: [PATCH] nix: Fix deprecation warning (resolves #9) --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index fbef637..a894b54 100644 --- a/flake.nix +++ b/flake.nix @@ -43,6 +43,8 @@ }) ]; }; + + # cf. https://github.com/kolloch/crate2nix/issues/110 inherit (import "${crate2nix}/tools.nix" { inherit pkgs; }) generatedCargoNix; @@ -53,6 +55,9 @@ src = ./.; }) { + inherit pkgs; + buildRustCrate = null; # https://github.com/kolloch/crate2nix/pull/178#issuecomment-820692187 + # Individual crate overrides go here # Example: https://github.com/balsoft/simple-osd-daemons/blob/6f85144934c0c1382c7a4d3a2bbb80106776e270/flake.nix#L28-L50 defaultCrateOverrides = pkgs.defaultCrateOverrides // {