mirror of https://github.com/hyprwm/Hyprland
Merge 846fcd3683
into f2dc48d92f
This commit is contained in:
commit
2f03595e5e
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
self,
|
||||
lib,
|
||||
stdenv,
|
||||
pkg-config,
|
||||
|
@ -68,7 +69,16 @@ assert lib.assertMsg (!hidpiXWayland) "The option `hidpiXWayland` has been remov
|
|||
baseName = baseNameOf (toString name);
|
||||
in
|
||||
! (lib.hasSuffix ".nix" baseName);
|
||||
src = lib.cleanSource ../.;
|
||||
src = lib.cleanSource (
|
||||
if self ? rev
|
||||
then builtins.fetchGit {
|
||||
url = "https://github.com/hyprwm/Hyprland";
|
||||
inherit (self) rev;
|
||||
submodules = true;
|
||||
allRefs = true;
|
||||
}
|
||||
else ../.
|
||||
);
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -36,6 +36,7 @@ in {
|
|||
version = "${props.version}+date=${date}_${self.shortRev or "dirty"}";
|
||||
commit = self.rev or "";
|
||||
inherit date;
|
||||
inherit (inputs) self;
|
||||
};
|
||||
hyprland-unwrapped = final.hyprland.override {wrapRuntimeDeps = false;};
|
||||
hyprland-debug = final.hyprland.override {debug = true;};
|
||||
|
|
Loading…
Reference in New Issue