Skip to content

Commit 94ce5a8

Browse files
committed
pkgs/tools/wayland: enable strictDeps
`fd "\.nix" pkgs/tools/wayland | xargs rg "strictDeps" --files-without-match | xargs rg "buildRust|buildGo|buildPyt|buildNim" --files-without-match | xargs vim -p` checked with Artturin/diffing removed unnecessary depsBuildBuild in waynergy
1 parent c707238 commit 94ce5a8

6 files changed

Lines changed: 12 additions & 3 deletions

File tree

pkgs/tools/wayland/mpvpaper/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
, wlroots
77
, wayland
88
, wayland-protocols
9+
, wayland-scanner
910
, egl-wayland
1011
, glew-egl
1112
, mpv
@@ -26,12 +27,14 @@ stdenv.mkDerivation rec {
2627
sha256 = "sha256-0LjIwOY2hBUb0nziD3HLP2Ek5+8v3ntssRFD9eQgWkc=";
2728
};
2829

30+
strictDeps = true;
2931
nativeBuildInputs = [
3032
meson
3133
ninja
3234
pkg-config
3335
makeWrapper
3436
installShellFiles
37+
wayland-scanner
3538
];
3639

3740
buildInputs = [

pkgs/tools/wayland/proycon-wayout/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ stdenv.mkDerivation rec {
3232
mv $out/bin/wayout $out/bin/proycon-wayout # Avoid conflict with shinyzenith/wayout
3333
'';
3434

35+
strictDeps = true;
3536
depsBuildBuild = [ pkg-config ];
3637
nativeBuildInputs = [ scdoc ninja meson cmake pkg-config wayland-scanner ];
3738
buildInputs = [ wayland-protocols wayland cairo pango ];

pkgs/tools/wayland/sov/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
1717
postPatch = ''
1818
substituteInPlace src/sov/main.c --replace '/usr' $out
1919
'';
20+
21+
strictDeps = true;
2022
nativeBuildInputs = [ meson pkg-config wayland-scanner ninja ];
2123
buildInputs = [ wayland wayland-protocols freetype ];
2224

pkgs/tools/wayland/waynergy/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
2424
hash = "sha256-pk1U3svy9r7O9ivFjBNXsaOmgc+nv2QTuwwHejB7B4Q=";
2525
};
2626

27-
depsBuildBuild = [ pkg-config ];
28-
nativeBuildInputs = [ meson ninja ];
27+
strictDeps = true;
28+
nativeBuildInputs = [ pkg-config meson ninja wayland-scanner ];
2929
buildInputs = [ libdrm wayland wayland-protocols wl-clipboard libxkbcommon libressl ];
3030

3131
postPatch = ''

pkgs/tools/wayland/wev/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
2020
sha256 = "0l71v3fzgiiv6xkk365q1l08qvaymxd4kpaya6r2g8yzkr7i2hms";
2121
};
2222

23+
strictDeps = true;
2324
# for scdoc
2425
depsBuildBuild = [
2526
pkg-config

pkgs/tools/wayland/wlprop/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ fetchgit, gawk, jq, lib, makeWrapper, slurp, stdenv, sway }:
1+
{ fetchgit, gawk, jq, lib, makeWrapper, slurp, stdenv, sway, bash }:
22

33
stdenv.mkDerivation rec {
44
pname = "wlprop";
@@ -10,7 +10,9 @@ stdenv.mkDerivation rec {
1010
sha256 = "sha256-ZJ9LYYrU2cNYikiVNTlEcI4QXcoqfl7iwk3Be+NhGG8=";
1111
};
1212

13+
strictDeps = true;
1314
nativeBuildInputs = [ makeWrapper ];
15+
buildInputs = [ bash ];
1416

1517
dontBuild = true;
1618
installPhase = ''

0 commit comments

Comments
 (0)