diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/default.nix b/default.nix index 3cf4137..a76bcc2 100644 --- a/default.nix +++ b/default.nix @@ -1,4 +1,4 @@ -{ pkgs ? (import <nixpkgs> {}), lib ? (import <nixpkgs/lib>), system ? builtins.currentSystem }: +{ pkgs ? (import <nixpkgs> { }), lib ? (import <nixpkgs/lib>), system ? builtins.currentSystem }: assert lib.versionAtLeast pkgs.go.version "1.14"; @@ -11,7 +11,7 @@ pkgs.buildGoModule rec { vendorSha256 = "HffgkuKmaOjTYi+jQ6vBlC50JqqbYiikURT6TCqL7e0="; subPackages = [ "." ]; - + buildInputs = with pkgs; [ libusb1 ]; nativeBuildInputs = with pkgs; [ pkg-config ]; @@ -22,4 +22,4 @@ pkgs.buildGoModule rec { maintainers = [ johnrichardrinehart ]; platforms = platforms.linux ++ platforms.darwin; }; -}
\ No newline at end of file +} |