mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
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 New Issue
Block a user