sway: remove swaybg from path

Avoids polluting the environment for sway's children.
This commit is contained in:
V
2021-01-18 17:56:31 +01:00
parent 979e6e67d3
commit 29b14dfd9b
3 changed files with 18 additions and 3 deletions
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, makeWrapper
{ lib, stdenv, fetchFromGitHub, substituteAll, swaybg
, meson, ninja, pkg-config, wayland, scdoc
, libxkbcommon, pcre, json_c, dbus, libevdev
, pango, cairo, libinput, libcap, pam, gdk-pixbuf, librsvg
@@ -19,6 +19,11 @@ stdenv.mkDerivation rec {
patches = [
./sway-config-no-nix-store-references.patch
./load-configuration-from-etc.patch
(substituteAll {
src = ./fix-paths.patch;
inherit swaybg;
})
];
nativeBuildInputs = [