diff --git a/pkgs/tools/misc/sutils/default.nix b/pkgs/tools/misc/sutils/default.nix index 6b2f065a0acf..c96ac41fb268 100644 --- a/pkgs/tools/misc/sutils/default.nix +++ b/pkgs/tools/misc/sutils/default.nix @@ -1,18 +1,20 @@ -{ stdenv, fetchFromGitHub }: +{ stdenv, fetchFromGitHub, alsaLib }: stdenv.mkDerivation rec { - version = "0.1"; + version = "0.2"; name = "sutils-${version}"; src = fetchFromGitHub { owner = "baskerville"; repo = "sutils"; rev = version; - sha256 = "0rvkc1y7rpw62d00n37pwfzvpvbbhzm6jvr2sb195l2dw53ya8d6"; + sha256 = "0i2g6a6xdaq3w613dhq7mnsz4ymwqn6kvkyan5kgy49mzq97va6j"; }; hardeningDisable = [ "format" ]; + buildInputs = [ alsaLib ]; + prePatch = ''sed -i "s@/usr/local@$out@" Makefile''; meta = {