From a9e5eaf277b78c3ddd50b586463f91d48263e3b8 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Sat, 21 Dec 2024 12:05:33 -0600 Subject: [PATCH] update flake --- flake.lock | 12 ++++++------ flake.nix | 4 +--- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index a7413e5..3f81191 100644 --- a/flake.lock +++ b/flake.lock @@ -54,11 +54,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1733581040, - "narHash": "sha256-Qn3nPMSopRQJgmvHzVqPcE3I03zJyl8cSbgnnltfFDY=", + "lastModified": 1734424634, + "narHash": "sha256-cHar1vqHOOyC7f1+tVycPoWTfKIaqkoe1Q6TnKzuti4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "22c3f2cf41a0e70184334a958e6b124fb0ce3e01", + "rev": "d3c42f187194c26d9f0309a8ecc469d6c878ce33", "type": "github" }, "original": { @@ -127,11 +127,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1733487143, - "narHash": "sha256-o4jsVKtInTA0CqwUUdcAxCYAgNLLNo30mLzz3qVc0eY=", + "lastModified": 1734740962, + "narHash": "sha256-5YsE/uxeHJSa1S86553fgjjYDRJl7iLs41cSSXW/K04=", "owner": "mitchellh", "repo": "zig-overlay", - "rev": "40e32dd7e083eab4340acd17de47f13d883f257f", + "rev": "956fa2f98490537625f582122b6f7f8adabf9686", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 6377288..12d0e40 100644 --- a/flake.nix +++ b/flake.nix @@ -27,6 +27,7 @@ }; in { devShells.default = pkgs.mkShell { + name = "zig-hidapi"; nativeBuildInputs = [ pkgs.hidapi zig.packages.${system}.master @@ -37,9 +38,6 @@ LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [ pkgs.hidapi ]; - shellHook = '' - name="zig-hidapi" - ''; }; packages.default = pkgs.zigStdenv.mkDerivation { pname = "zig-hidapi";