build sway

This commit is contained in:
cy 2025-01-13 20:32:54 -05:00
parent 66101edde5
commit a0add58424
3 changed files with 28 additions and 0 deletions

View file

@ -11,6 +11,8 @@ jobs:
- .#attic-server
- .#conduwuit
- "github:cything/nixpkgs/9a35d495d2f49eee003b57265228844bb48c933e#nixosTests.garage.with-3node-replication1_x"
- .#sway
runs-on: ubuntu-latest
steps:
- uses: DeterminateSystems/nix-installer-action@main

View file

@ -2,6 +2,7 @@ let
overlays = [
./conduwuit
./attic
./sway.nix
];
importedOverlays = map (m: import m) overlays;
in

25
overlay/sway.nix Normal file
View file

@ -0,0 +1,25 @@
final: prev: rec {
sway-unwrapped = (prev.sway-unwrapped.override (old: {
inherit wlroots;
}))
.overrideAttrs (prevAttrs: {
version = "1.10";
src = final.fetchFromGitHub {
owner = "swaywm";
repo = "sway";
rev = "0b08dce08cbcf515103d8a7fd8c390ed04c93428";
hash = "sha256-Qo/Fr/sc5lqHTlzf7YC282TkF1ZJtDhTNiL31R0c5NY=";
};
});
wlroots = prev.wlroots_0_18.overrideAttrs (prevAttrs: {
version = "0.19";
src = final.fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "wlroots";
repo = "wlroots";
rev = "eb85831284b6f46301e41205c5d4e08fc5b92c27";
hash = "sha256-itELarxPdIBx5EhDxXZht4Iw8kddaiHVHuAWtf0pGfU=";
};
});
}