forked from mirrors/nixpkgs
i2c-toools: touchups, NFCI. (reviewer suggestions, thanks!)
This commit is contained in:
parent
8b4d458ccd
commit
d60806b90b
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue