From 6ac095c9be38863155991dff66ca5b4a10ddb811 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Mon, 21 Sep 2020 19:05:28 +0300 Subject: [PATCH] Update crate2nix --- flake.lock | 6 +++--- flake.nix | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index 28952d6..cac6035 100644 --- a/flake.lock +++ b/flake.lock @@ -3,11 +3,11 @@ "crate2nix": { "flake": false, "locked": { - "lastModified": 1600641867, - "narHash": "sha256-JMkuUewrguz/lsdS4UGP7oB3qXRDYhyfwUyZnhg41ug=", + "lastModified": 1600704184, + "narHash": "sha256-PaLz9kGAfmumbftRBqbDlUVOxXey1Mt/LS3Tov//1PU=", "owner": "balsoft", "repo": "crate2nix", - "rev": "a8738225fa4ea4add60483b0ebaa55560e8c5722", + "rev": "f26503fece52ce143e207dceff337c83ff4c2f65", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 1fdebc3..0b16899 100644 --- a/flake.nix +++ b/flake.nix @@ -26,11 +26,11 @@ let commonDeps = with pkgs; [ libnotify gdk_pixbuf glib ]; - inherit (import crate2nix { inherit pkgs crates-io-index; }) callCrate; + inherit (import crate2nix { inherit pkgs crates-io-index; }) + callCrate; - project = callCrate { - src = ./.; - overrides.defaultCrateOverrides = pkgs.defaultCrateOverrides // { + project = callCrate ./. { + defaultCrateOverrides = pkgs.defaultCrateOverrides // { simple-osd-battery = oa: { buildInputs = commonDeps; }; simple-osd-bluetooth = oa: { buildInputs = commonDeps