mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
dropbox: fix makeWrapper usage
makeWrapper checks now if script is executable, so we have to chmod first.
This commit is contained in:
parent
48b2962550
commit
516ba12b6d
|
@ -96,10 +96,10 @@ in mkDerivation {
|
|||
|
||||
mkdir -p "$out/bin"
|
||||
RPATH="${ldpath}:$out/${appdir}"
|
||||
chmod 755 $out/${appdir}/dropbox
|
||||
makeWrapper "$out/${appdir}/dropbox" "$out/bin/dropbox" \
|
||||
--prefix LD_LIBRARY_PATH : "$RPATH"
|
||||
|
||||
chmod 755 $out/${appdir}/dropbox
|
||||
|
||||
rm $out/${appdir}/wmctrl
|
||||
ln -s ${wmctrl}/bin/wmctrl $out/${appdir}/wmctrl
|
||||
|
|
Loading…
Reference in a new issue