Merge pull request #172093 from Artturin/fixes1

main
Sandro 2 years ago committed by GitHub
commit 78cc0998e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      pkgs/applications/window-managers/sway/bg.nix
  2. 4
      pkgs/applications/window-managers/sway/contrib.nix
  3. 1
      pkgs/applications/window-managers/sway/default.nix
  4. 1
      pkgs/applications/window-managers/sway/idle.nix
  5. 4
      pkgs/applications/window-managers/sway/lock-effects.nix
  6. 4
      pkgs/applications/window-managers/sway/lock-fancy.nix
  7. 13
      pkgs/applications/window-managers/sway/lock.nix
  8. 1
      pkgs/applications/window-managers/sway/wrapper.nix
  9. 4
      pkgs/servers/x11/xorg/overrides.nix

@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
hash = "sha256-Lt/hn/K+CjcmU3Bs5wChiZq0VGNcraH4tSVYsmYnKjc=";
};
strictDeps = true;
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-scanner ];
buildInputs = [ wayland wayland-protocols cairo gdk-pixbuf ];

@ -10,6 +10,7 @@
, slurp
, grim
, jq
, bash
, python3Packages
}:
@ -27,8 +28,9 @@ grimshot = stdenv.mkDerivation rec {
outputs = [ "out" "man" ];
strictDeps = true;
nativeBuildInputs = [ makeWrapper installShellFiles ];
buildInputs = [ bash ];
installPhase = ''
installManPage contrib/grimshot.1

@ -49,6 +49,7 @@ stdenv.mkDerivation rec {
./sway-config-nixos-paths.patch
];
strictDeps = true;
depsBuildBuild = [
pkg-config
];

@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
sha256 = "06iq12p4438d6bv3jlqsf01wjaxrzlnj1bnicn41kad563aq41xl";
};
strictDeps = true;
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-scanner ];
buildInputs = [ wayland wayland-protocols ]
++ lib.optionals systemdSupport [ systemd ];

@ -8,6 +8,7 @@
, scdoc
, wayland
, wayland-protocols
, wayland-scanner
, libxkbcommon
, cairo
, gdk-pixbuf
@ -36,7 +37,8 @@ stdenv.mkDerivation rec {
sed -iE "s/version: '1\.3',/version: '${version}',/" meson.build
'';
nativeBuildInputs = [ meson ninja pkg-config scdoc ];
strictDeps = true;
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-scanner];
buildInputs = [ wayland wayland-protocols libxkbcommon cairo gdk-pixbuf pam ];
mesonFlags = [

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, coreutils, grim, gawk, jq, swaylock
, imagemagick, getopt, fontconfig, wmctrl, makeWrapper
, imagemagick, getopt, fontconfig, wmctrl, makeWrapper, bash
}:
let
@ -30,7 +30,9 @@ in stdenv.mkDerivation rec {
--replace "/usr/share" "$out/share"
'';
strictDeps = true;
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ bash ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub
{ lib, stdenv, fetchFromGitHub, fetchpatch
, meson, ninja, pkg-config, scdoc, wayland-scanner
, wayland, wayland-protocols, libxkbcommon, cairo, gdk-pixbuf, pam
}:
@ -14,6 +14,17 @@ stdenv.mkDerivation rec {
sha256 = "sha256-VVGgidmSQWKxZNx9Cd6z52apxpxVfmX3Ut/G9kzfDcY=";
};
patches = [
# remove once when updating to 1.7
# https://github.com/swaywm/swaylock/pull/235
(fetchpatch {
url = "https://github.com/swaywm/swaylock/commit/5a1e6ad79aa7d79b32d36cda39400f3e889b8f8f.diff";
sha256 = "sha256-ZcZVImUzvng7sluC6q2B5UL8sVunLe4PIfc+tyw48RQ=";
})
];
strictDeps = true;
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-scanner ];
buildInputs = [ wayland wayland-protocols libxkbcommon cairo gdk-pixbuf pam ];

@ -37,6 +37,7 @@ in symlinkJoin {
paths = (optional withBaseWrapper baseWrapper)
++ [ sway ];
strictDeps = true;
nativeBuildInputs = [ makeWrapper ]
++ (optional withGtkWrapper wrapGAppsHook);

@ -351,6 +351,10 @@ self: super:
outputs = [ "out" "dev" ];
});
xcbutilerrors = super.xcbutilerrors.overrideAttrs (attrs: {
outputs = [ "out" "dev" ]; # mainly to get rid of propagating others
});
xcbutilcursor = super.xcbutilcursor.overrideAttrs (attrs: {
outputs = [ "out" "dev" ];
meta = attrs.meta // { maintainers = [ lib.maintainers.lovek323 ]; };

Loading…
Cancel
Save