famistudio: Add GSettings schemas on Linux (#479309)

This commit is contained in:
Gergő Gutyina
2026-01-17 10:37:19 +00:00
committed by GitHub
+19 -4
View File
@@ -14,6 +14,7 @@
openal,
portaudio,
rtmidi,
wrapGAppsHook3,
_experimental-update-script-combinators,
gitUpdater,
}:
@@ -133,11 +134,17 @@ buildDotnetModule (finalAttrs: {
nugetDeps = ./deps.json;
dotnet-sdk = dotnetCorePackages.sdk_8_0;
nativeBuildInputs = lib.optionals stdenvNoCC.hostPlatform.isLinux [
wrapGAppsHook3
];
runtimeDeps = lib.optionals stdenvNoCC.hostPlatform.isLinux [
gtk3
libglvnd
];
dontWrapGApps = true;
executables = [ "FamiStudio" ];
postInstall = ''
@@ -147,11 +154,19 @@ buildDotnetModule (finalAttrs: {
done
'';
postFixup = ''
postFixup =
# Need GSettings schemas
lib.optionalString stdenvNoCC.hostPlatform.isLinux ''
makeWrapperArgs+=(
"''${gappsWrapperArgs[@]}"
)
''
# FFMpeg looked up from PATH
wrapProgram $out/bin/FamiStudio \
--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}
'';
+ ''
wrapProgram $out/bin/FamiStudio \
--prefix PATH : ${lib.makeBinPath [ ffmpeg ]} \
''${makeWrapperArgs[@]}
'';
passthru.updateScript = _experimental-update-script-combinators.sequence [
(gitUpdater { }).command