update flake

This commit is contained in:
Jeffrey C. Ollie 2024-12-21 12:05:33 -06:00
parent 0f956dbc24
commit a9e5eaf277
Signed by: jeff
GPG key ID: 6F86035A6D97044E
2 changed files with 7 additions and 9 deletions

View file

@ -54,11 +54,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1733581040, "lastModified": 1734424634,
"narHash": "sha256-Qn3nPMSopRQJgmvHzVqPcE3I03zJyl8cSbgnnltfFDY=", "narHash": "sha256-cHar1vqHOOyC7f1+tVycPoWTfKIaqkoe1Q6TnKzuti4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "22c3f2cf41a0e70184334a958e6b124fb0ce3e01", "rev": "d3c42f187194c26d9f0309a8ecc469d6c878ce33",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -127,11 +127,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1733487143, "lastModified": 1734740962,
"narHash": "sha256-o4jsVKtInTA0CqwUUdcAxCYAgNLLNo30mLzz3qVc0eY=", "narHash": "sha256-5YsE/uxeHJSa1S86553fgjjYDRJl7iLs41cSSXW/K04=",
"owner": "mitchellh", "owner": "mitchellh",
"repo": "zig-overlay", "repo": "zig-overlay",
"rev": "40e32dd7e083eab4340acd17de47f13d883f257f", "rev": "956fa2f98490537625f582122b6f7f8adabf9686",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -27,6 +27,7 @@
}; };
in { in {
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {
name = "zig-hidapi";
nativeBuildInputs = [ nativeBuildInputs = [
pkgs.hidapi pkgs.hidapi
zig.packages.${system}.master zig.packages.${system}.master
@ -37,9 +38,6 @@
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [ LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
pkgs.hidapi pkgs.hidapi
]; ];
shellHook = ''
name="zig-hidapi"
'';
}; };
packages.default = pkgs.zigStdenv.mkDerivation { packages.default = pkgs.zigStdenv.mkDerivation {
pname = "zig-hidapi"; pname = "zig-hidapi";