nix: overlay polish for prev parameter (#4558)

This commit is contained in:
GrizzlT 2024-02-12 17:11:08 +00:00 committed by GitHub
parent 927da86e3e
commit f33d73b9cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,9 +31,9 @@ in {
hyprland = final.callPackage ./default.nix {
stdenv = final.gcc13Stdenv;
version = "${props.version}+date=${date}_${self.shortRev or "dirty"}";
wlroots = prev.wlroots-hyprland;
commit = self.rev or "";
inherit (final) udis86 hyprland-protocols;
wlroots = final.wlroots-hyprland; # explicit override until decided on breaking change of the name
udis86 = final.udis86-hyprland; # explicit override until decided on breaking change of the name
inherit date;
};
hyprland-unwrapped = final.hyprland.override {wrapRuntimeDeps = false;};
@ -61,7 +61,7 @@ in {
];
udis86 = final: prev: {
udis86 = final.callPackage ./udis86.nix {};
udis86-hyprland = final.callPackage ./udis86.nix {};
};
# Patched version of wlroots for Hyprland.