mirror of https://github.com/hyprwm/Hyprland
Merge 846fcd3683
into 9c5dd59d4b
This commit is contained in:
commit
0dedbe5fdc
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
self,
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
|
@ -68,7 +69,16 @@ assert lib.assertMsg (!hidpiXWayland) "The option `hidpiXWayland` has been remov
|
||||||
baseName = baseNameOf (toString name);
|
baseName = baseNameOf (toString name);
|
||||||
in
|
in
|
||||||
! (lib.hasSuffix ".nix" baseName);
|
! (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 = ''
|
postPatch = ''
|
||||||
|
|
|
@ -36,6 +36,7 @@ in {
|
||||||
version = "${props.version}+date=${date}_${self.shortRev or "dirty"}";
|
version = "${props.version}+date=${date}_${self.shortRev or "dirty"}";
|
||||||
commit = self.rev or "";
|
commit = self.rev or "";
|
||||||
inherit date;
|
inherit date;
|
||||||
|
inherit (inputs) self;
|
||||||
};
|
};
|
||||||
hyprland-unwrapped = final.hyprland.override {wrapRuntimeDeps = false;};
|
hyprland-unwrapped = final.hyprland.override {wrapRuntimeDeps = false;};
|
||||||
hyprland-debug = final.hyprland.override {debug = true;};
|
hyprland-debug = final.hyprland.override {debug = true;};
|
||||||
|
|
Loading…
Reference in New Issue