Merge pull request #151975 from NickCao/radeontop

radeontop: fix cross compilation
This commit is contained in:
Bobby Rong 2021-12-24 15:40:54 +08:00 committed by GitHub
commit 88df114fa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
patchPhase = ''
substituteInPlace getver.sh --replace ver=unknown ver=${version}
substituteInPlace Makefile --replace pkg-config "$PKG_CONFIG"
'';
makeFlags = [ "PREFIX=$(out)" ];