arandr: don't leak xrandr (#543498)
This commit is contained in:
@@ -48,10 +48,6 @@ buildPythonApplication (finalAttrs: {
|
||||
wrapGAppsHook3
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
xrandr
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gsettings-desktop-schemas
|
||||
gtk3
|
||||
@@ -73,9 +69,13 @@ buildPythonApplication (finalAttrs: {
|
||||
|
||||
dontWrapGApps = true;
|
||||
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
makeWrapperArgs = [
|
||||
"--prefix"
|
||||
"PATH"
|
||||
":"
|
||||
(lib.makeBinPath [ xrandr ])
|
||||
"\${gappsWrapperArgs[@]}"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
|
||||
Reference in New Issue
Block a user