nix-files/pkgs/additional/nixpkgs-wayland/default.nix

17 lines
518 B
Nix
Raw Normal View History

{ pkgs
, fetchFromGitHub
}:
let
src = fetchFromGitHub {
owner = "nix-community";
repo = "nixpkgs-wayland";
rev = "8e2d180329f4009ac06042b50ca0a356722aea19";
hash = "sha256-8rKI+MKmWOpEy7XKRMURph4b6VkMkh+Nr20hkpyk5hM=";
};
overlay = import "${src}/overlay.nix";
final = pkgs.appendOverlays [ overlay ];
in src.overrideAttrs (base: {
# passthru only nixpkgs-wayland's own packages -- not the whole nixpkgs-with-nixpkgs-wayland-as-overlay:
passthru = base.passthru // (overlay final pkgs);
})