heimdall: fix build on darwin
This commit is contained in:
parent
63834d63da
commit
a18e65f6a8
1 changed files with 3 additions and 0 deletions
|
@ -21,11 +21,14 @@ mkDerivation {
|
|||
|
||||
cmakeFlags = [
|
||||
"-DDISABLE_FRONTEND=${if enableGUI then "OFF" else "ON"}"
|
||||
"-DLIBUSB_LIBRARY=${libusb1}"
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
# Give ownership of the Galaxy S USB device to the logged in user.
|
||||
substituteInPlace heimdall/60-heimdall.rules --replace 'MODE="0666"' 'TAG+="uaccess"'
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace libpit/CMakeLists.txt --replace "-std=gnu++11" ""
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
|
Loading…
Reference in a new issue