Compare commits

..

No commits in common. "21f3af9aad90fa5a657ded189daed43ae7d6bea9" and "55830d6e6cd36336c26d9da828ab56dcf8601d14" have entirely different histories.

3 changed files with 41 additions and 17 deletions

View file

@ -25,11 +25,11 @@
},
"bleedingpkgs": {
"locked": {
"lastModified": 1725294213,
"narHash": "sha256-mtEDY1u6xlw3xRBELGL/X0Su56x6TKxho9k5rDC20SA=",
"lastModified": 1725213346,
"narHash": "sha256-otX9gWWv8XhxOQR2PAN63OzP2ZatNH09eh1yFIVjRYo=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "6df34e21fb2730c45f820dc2d733076ae6976dad",
"rev": "6e5af4a4483bd9e71a19a7a59e06fdad54c01401",
"type": "github"
},
"original": {
@ -503,11 +503,11 @@
"homebrew-cask": {
"flake": false,
"locked": {
"lastModified": 1725292825,
"narHash": "sha256-c/2wWSOspuoNHpSXdLM7spU6OVfvDjFB5eKVXF4UlEw=",
"lastModified": 1725208495,
"narHash": "sha256-7NW3tTjP+RYFAw0LkGD+j3spdJRH3Cm0h97P9vkmdIw=",
"owner": "homebrew",
"repo": "homebrew-cask",
"rev": "84fdcb84d65770fa48e2efc19e9fc2d7c36068fc",
"rev": "2f07bccabec4f957f680f6bad4c13256f9aaa91b",
"type": "github"
},
"original": {
@ -519,11 +519,11 @@
"homebrew-core": {
"flake": false,
"locked": {
"lastModified": 1725293683,
"narHash": "sha256-diX5+ev9ajHXTZ7qs1muO6lOaxwHaX9gVjCtabFdxgc=",
"lastModified": 1725211546,
"narHash": "sha256-Q6rNz1e0d1Q7Z1K5kh3IXQ+XygOe6CWlP+iYvvPxGhE=",
"owner": "homebrew",
"repo": "homebrew-core",
"rev": "b4131224480d891a427cb5a500af510d4ddc0377",
"rev": "8bc0c0aaed871e8a2fa78422d9df9943d3e04a9f",
"type": "github"
},
"original": {
@ -742,11 +742,11 @@
},
"nixpkgs-unstable-small": {
"locked": {
"lastModified": 1725274606,
"narHash": "sha256-xXINAjCR8eTmp3AxZTk/PIH9nNoFNN0OM7MUw6eB7oQ=",
"lastModified": 1725183711,
"narHash": "sha256-gkjg8FfjL92azt3gzZUm1+v+U4y+wbQE630uIf4Aybo=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "66a352a3f27a2eb2f27e42a13c6fe245d3be2b98",
"rev": "a2c345850e5e1d96c62e7fa8ca6c9d77ebad1c37",
"type": "github"
},
"original": {
@ -1041,11 +1041,11 @@
]
},
"locked": {
"lastModified": 1725250580,
"narHash": "sha256-OJ123JRnfuTYp0FYcQuFGvSB9uxw41sIJS6ojStUEkI=",
"lastModified": 1725164248,
"narHash": "sha256-fkPtxxfjwoNiV3nZRG0xmQ5Jk7cT0z7dGn2fuV2i6Qo=",
"owner": "Gerg-L",
"repo": "spicetify-nix",
"rev": "0f66eb16c0cb63406b8477740ffd41e4e0c301a1",
"rev": "be4c6a86cd30f29c847412cf4d3463c3113e3c30",
"type": "github"
},
"original": {

View file

@ -1,6 +1,6 @@
{pkgs, ...}: {
xdg.portal = {
enable = true;
extraPortals = with pkgs; [xdg-desktop-portal-gtk];
extraPortals = with pkgs; [xdg-desktop-portal-hyprland xdg-desktop-portal-gtk];
};
}

View file

@ -6,10 +6,34 @@
stablepkgs = inputs.stablepkgs.legacyPackages.${pkgs.system};
bleedingpkgs = inputs.bleedingpkgs.legacyPackages.${pkgs.system};
nixpkgs-small = inputs.nixpkgs-unstable-small.legacyPackages.${pkgs.system};
fetchpatch = pkgs.fetchpatch;
in {
nixpkgs.overlays = [
(self: super: {
xdg-desktop-portal-hyprland = nixpkgs-small.xdg-desktop-portal-hyprland;
# manga-tui = inputs.manga-tui.packages.${pkgs.system}.default;
xdg-desktop-portal-hyprland = super.xdg-desktop-portal-hyprland.overrideAttrs (oldAttrs: {
src = oldAttrs.src;
patches =
oldAttrs.patches
or []
++ [
# removes wayland-scanner from deps, as it includes a pkg-config that
# defines that it has a non-existent include directory which trips up CMake
(fetchpatch {
url = "https://github.com/hyprwm/xdg-desktop-portal-hyprland/commit/5555f467f68ce7cdf1060991c24263073b95e9da.patch";
hash = "sha256-yNkg7GCXDPJdsE7M6J98YylnRxQWpcM5N3olix7Oc1A=";
})
(fetchpatch {
url = "https://github.com/hyprwm/xdg-desktop-portal-hyprland/commit/0dd9af698b9386bcf25d3ea9f5017eca721831c1.patch";
hash = "sha256-Y6eWASHoMXVN2rYJ1rs0jy2qP81/qbHsZU+6b7XNBBg=";
})
# handle finding wayland-scanner more nicely
(fetchpatch {
url = "https://github.com/hyprwm/xdg-desktop-portal-hyprland/commit/2425e8f541525fa7409d9f26a8ffaf92a3767251.patch";
hash = "sha256-6dCg/U/SIjtvo07Z3tn0Hn8Xwx72nwVz6Q2cFnObonU=";
})
];
});
})
];
}