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