radeontop: fix cross compilation

This commit is contained in:
Nick Cao 2021-12-02 15:03:53 +08:00
parent 191a0315bf
commit ac0f955c76
No known key found for this signature in database
GPG Key ID: 068A56CEF48FA2C1

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)" ];