Update crate2nix

This commit is contained in:
Alexander Bantyev 2020-09-21 19:05:28 +03:00
parent 35a17a8862
commit 6ac095c9be
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5
2 changed files with 7 additions and 7 deletions

View File

@ -3,11 +3,11 @@
"crate2nix": { "crate2nix": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1600641867, "lastModified": 1600704184,
"narHash": "sha256-JMkuUewrguz/lsdS4UGP7oB3qXRDYhyfwUyZnhg41ug=", "narHash": "sha256-PaLz9kGAfmumbftRBqbDlUVOxXey1Mt/LS3Tov//1PU=",
"owner": "balsoft", "owner": "balsoft",
"repo": "crate2nix", "repo": "crate2nix",
"rev": "a8738225fa4ea4add60483b0ebaa55560e8c5722", "rev": "f26503fece52ce143e207dceff337c83ff4c2f65",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -26,11 +26,11 @@
let let
commonDeps = with pkgs; [ libnotify gdk_pixbuf glib ]; 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 { project = callCrate ./. {
src = ./.; defaultCrateOverrides = pkgs.defaultCrateOverrides // {
overrides.defaultCrateOverrides = pkgs.defaultCrateOverrides // {
simple-osd-battery = oa: { buildInputs = commonDeps; }; simple-osd-battery = oa: { buildInputs = commonDeps; };
simple-osd-bluetooth = oa: { simple-osd-bluetooth = oa: {
buildInputs = commonDeps buildInputs = commonDeps