Skip to content

Commit 2018b46

Browse files
FPtjenh2
authored andcommitted
Apply dontDisableStatic to xorg
1 parent 7b0ba2f commit 2018b46

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

survey/default.nix

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -597,16 +597,17 @@ let
597597
)
598598
];
599599

600-
601-
applyDontDisableStatic = pkgValue:
600+
applyDontDisableStatic = pkgsSet: lib.mapAttrs (pkgName: pkgValue:
602601
if pkgValue ? overrideAttrs then
603602
pkgValue.overrideAttrs (old: { dontDisableStatic = true; })
604603
else
605-
pkgValue;
604+
pkgValue)
605+
pkgsSet;
606606

607-
dontDisableStaticOverlay = final: previous: lib.mapAttrs (
608-
pkgName: pkgValue: applyDontDisableStatic pkgValue
609-
) previous;
607+
dontDisableStaticOverlay = final: previous:
608+
(applyDontDisableStatic previous) // {
609+
xorg = applyDontDisableStatic previous.xorg;
610+
};
610611

611612
pkgsDontDisableStatic = pkgs.extend dontDisableStaticOverlay;
612613

0 commit comments

Comments
 (0)