diff options
author | Martin Fischer <martin@push-f.com> | 2025-05-11 10:32:56 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-06-16 16:25:48 +0200 |
commit | 04959cf36110c9687edb94734239e8cf9d36d5b1 (patch) | |
tree | 9b74a19c4a2945beeedaa1da04df272fbacda665 /nixos/profiles/common/nixpkgs/overlays.nix | |
parent | a6c04914a4c038b5e3778e11afa89dd21a6d7874 (diff) |
I'm removing nixpkgs-overlays from nix.nixPath because overlays seem to work
fine without it (with just nixpkgs.overlays). And keeping it would have required
me to adapt the path because `nix-shell -p` was failing with "The overlays
argument to nixpkgs must be a list" due to the new pkgs param.
Diffstat (limited to 'nixos/profiles/common/nixpkgs/overlays.nix')
-rw-r--r-- | nixos/profiles/common/nixpkgs/overlays.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/nixos/profiles/common/nixpkgs/overlays.nix b/nixos/profiles/common/nixpkgs/overlays.nix index 613338f..7bad946 100644 --- a/nixos/profiles/common/nixpkgs/overlays.nix +++ b/nixos/profiles/common/nixpkgs/overlays.nix @@ -1,4 +1,15 @@ # https://nixos.org/manual/nixpkgs/stable/#sec-overlays-definition +{ pkgs, ... }: [ - + (final: prev: { + sway-unwrapped = prev.sway-unwrapped.overrideAttrs (old: { + patches = old.patches ++ [ + # https://github.com/swaywm/sway/pull/8761 + (pkgs.fetchpatch { + url = "https://github.com/swaywm/sway/commit/af7c6ec7b1daeeec67dd17e27fb75f1f1c347327.patch"; + hash = "sha256-DxN/3IdswZ6q/ksBVr+wgwGe7ScJeg8gFHYQdQAueww="; + }) + ]; + }); + }) ] |