3
0
Fork 0
forked from mirrors/nixpkgs

i2c-toools: touchups, NFCI. (reviewer suggestions, thanks!)

This commit is contained in:
Will Dietz 2018-12-31 11:26:07 -06:00
parent 8b4d458ccd
commit d60806b90b

View file

@ -11,13 +11,14 @@ stdenv.mkDerivation rec {
buildInputs = [ perl ];
patchPhase = ''
postPatch = ''
substituteInPlace eeprom/decode-edid --replace "/usr/sbin/parse-edid" "${read-edid}/bin/parse-edid"
substituteInPlace stub/i2c-stub-from-dump --replace "/sbin/" ""
'';
installPhase = ''
make install PREFIX=$out
makeFlags = [ "PREFIX=${placeholder "out"}" ];
postInstall = ''
rm -rf $out/include # Installs include/linux/i2c-dev.h that conflics with kernel headers
'';