dolphinEmu: install udev rules on linux (#105749)
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
parent
1858a86612
commit
17da448013
|
@ -108,6 +108,10 @@ stdenv.mkDerivation rec {
|
||||||
sfml
|
sfml
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||||
|
install -D $src/Data/51-usb-device.rules $out/etc/udev/rules.d/51-usb-device.rules
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://dolphin-emu.org/";
|
homepage = "https://dolphin-emu.org/";
|
||||||
description = "Gamecube/Wii/Triforce emulator for x86_64 and ARMv8";
|
description = "Gamecube/Wii/Triforce emulator for x86_64 and ARMv8";
|
||||||
|
|
|
@ -71,6 +71,8 @@ in stdenv.mkDerivation rec {
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
cp -r ${desktopItem}/share/applications $out/share
|
cp -r ${desktopItem}/share/applications $out/share
|
||||||
ln -sf $out/bin/dolphin-emu $out/bin/dolphin-emu-master
|
ln -sf $out/bin/dolphin-emu $out/bin/dolphin-emu-master
|
||||||
|
'' + lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||||
|
install -D $src/Data/51-usb-device.rules $out/etc/udev/rules.d/51-usb-device.rules
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in New Issue