Update flake.nix to use pkg-config

This commit is contained in:
Artemis Tosini 2023-09-22 01:50:58 +00:00
parent c21016e81a
commit 33be108857
Signed by: artemist
GPG key ID: EE5227935FE3FF18
3 changed files with 456 additions and 204 deletions

624
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -2,11 +2,11 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1637186689, "lastModified": 1695132891,
"narHash": "sha256-NU7BhgnwA/3ibmCeSzFK6xGi+Bari9mPfn+4cBmyEjw=", "narHash": "sha256-cJR9AFHmt816cW/C9necLJyOg/gsnkvEeFAfxgeM1hc=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "7fad01d9d5a3f82081c00fb57918d64145dc904c", "rev": "8b5ab8341e33322e5b66fb46ce23d724050f6606",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -22,13 +22,31 @@
"utils": "utils" "utils": "utils"
} }
}, },
"utils": { "systems": {
"locked": { "locked": {
"lastModified": 1637014545, "lastModified": 1681028828,
"narHash": "sha256-26IZAc5yzlD9FlDT54io1oqG/bBoyka+FJk5guaX4x4=", "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1694529238,
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "bba5dcc8e0b20ab664967ad83d24d64cb64ec4f4", "rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -21,7 +21,7 @@
cargoLock.lockFile = ./Cargo.lock; cargoLock.lockFile = ./Cargo.lock;
RUSTC_BOOTSTRAP = 1; RUSTC_BOOTSTRAP = 1;
doCheck = false; doCheck = false;
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ dbus ]; buildInputs = [ dbus ];
meta = with lib; { meta = with lib; {
@ -42,7 +42,7 @@
}; };
devShells.rustybar = with pkgs; mkShell { devShells.rustybar = with pkgs; mkShell {
packages = [ pkgconfig dbus rustup ]; packages = [ pkg-config dbus rustup ];
}; };
devShell = devShells.rustybar; devShell = devShells.rustybar;
})) // { })) // {