CI: update actions

nix/overlays: simplify overlay
This commit is contained in:
Mihai Fufezan 2024-07-30 21:59:33 +03:00
parent 0e2f3b9c85
commit 7f2a77ddf6
Signed by: fufexan
SSH key fingerprint: SHA256:SdnKmEpJrDu1+2UO1QpB/Eg4HKcdDi6n+xSRqFNJVpg
2 changed files with 7 additions and 12 deletions

View file

@ -8,14 +8,9 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install nix
uses: cachix/install-nix-action@v17
with:
install_url: https://releases.nixos.org/nix/nix-2.10.3/install
extra_nix_config: |
auto-optimise-store = true
experimental-features = nix-command flakes
- uses: cachix/install-nix-action@v27
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build xdg-desktop-portal-hyprland
run: nix build --print-build-logs
run: nix build --print-build-logs --extra-substituters "https://hyprland.cachix.org"

View file

@ -18,15 +18,15 @@
in {
default = mkJoinedOverlays (with self.overlays; [
xdg-desktop-portal-hyprland
inputs.hyprlang.overlays.default
inputs.hyprland-protocols.overlays.default
]);
xdg-desktop-portal-hyprland = lib.composeManyExtensions [
(final: prev: {
xdg-desktop-portal-hyprland = final.callPackage ./default.nix {
stdenv = prev.gcc13Stdenv;
inherit (final) hyprland-protocols;
inherit (final.qt6) qtbase qttools wrapQtAppsHook qtwayland;
inherit version;
inherit (inputs.hyprlang.packages.${prev.system}) hyprlang;
};
})
];