Merge pull request #220004 from Artturin/strictdepsenables

pkgs/tools/wayland: enable strictDeps
This commit is contained in:
Artturi
2023-03-08 11:05:32 +02:00
committed by GitHub
11 changed files with 22 additions and 6 deletions
+1
View File
@@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "1vzbgz8y9gj4lszsx4iczfbrj373sl4wi43j7rp46zfcbw323d4r";
};
strictDeps = true;
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
+3 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, lib, coreutils, findutils, gnugrep, darwin
{ stdenv, lib, coreutils, findutils, gnugrep, darwin, bash
# Avoid having GHC in the build-time closure of all NixOS configurations
, doCheck ? false, shellcheck
}:
@@ -26,7 +26,9 @@ stdenv.mkDerivation {
'';
inherit doCheck;
strictDeps = true;
nativeCheckInputs = [ shellcheck ];
buildInputs = [ bash ];
checkPhase = ''
shellcheck ./nix-info
+2 -1
View File
@@ -11,7 +11,8 @@ stdenv.mkDerivation {
sha256 = "0yiqljamcj9x8z801bwj7r30sskrwv4rm6sdf39j83jqql1fyq7y";
};
buildInputs = [
strictDeps = true;
nativeBuildInputs = [
(haskellPackages.ghcWithPackages (hs: with hs; [ posix-escape ]))
];
+3 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, makeWrapper, coreutils, jq, findutils, nix }:
{ stdenv, lib, fetchFromGitHub, makeWrapper, coreutils, jq, findutils, nix, bash }:
stdenv.mkDerivation rec {
pname = "nixos-generators";
@@ -9,7 +9,9 @@ stdenv.mkDerivation rec {
rev = version;
sha256 = "sha256-WecDwDY/hEcDQYzFnccCNa+5Umht0lfjx/d1qGDy/rQ=";
};
strictDeps = true;
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ bash ];
installFlags = [ "PREFIX=$(out)" ];
postFixup = ''
wrapProgram $out/bin/nixos-generate \
+1
View File
@@ -3,6 +3,7 @@
stdenv.mkDerivation rec {
name = "nixos-option";
src = ./.;
strictDeps = true;
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ boost nix ];
meta = with lib; {
+3
View File
@@ -6,6 +6,7 @@
, wlroots
, wayland
, wayland-protocols
, wayland-scanner
, egl-wayland
, glew-egl
, mpv
@@ -26,12 +27,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-0LjIwOY2hBUb0nziD3HLP2Ek5+8v3ntssRFD9eQgWkc=";
};
strictDeps = true;
nativeBuildInputs = [
meson
ninja
pkg-config
makeWrapper
installShellFiles
wayland-scanner
];
buildInputs = [
@@ -32,6 +32,7 @@ stdenv.mkDerivation rec {
mv $out/bin/wayout $out/bin/proycon-wayout # Avoid conflict with shinyzenith/wayout
'';
strictDeps = true;
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ scdoc ninja meson cmake pkg-config wayland-scanner ];
buildInputs = [ wayland-protocols wayland cairo pango ];
+2
View File
@@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace src/sov/main.c --replace '/usr' $out
'';
strictDeps = true;
nativeBuildInputs = [ meson pkg-config wayland-scanner ninja ];
buildInputs = [ wayland wayland-protocols freetype ];
+2 -2
View File
@@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
hash = "sha256-pk1U3svy9r7O9ivFjBNXsaOmgc+nv2QTuwwHejB7B4Q=";
};
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ meson ninja ];
strictDeps = true;
nativeBuildInputs = [ pkg-config meson ninja wayland-scanner ];
buildInputs = [ libdrm wayland wayland-protocols wl-clipboard libxkbcommon libressl ];
postPatch = ''
+1
View File
@@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
sha256 = "0l71v3fzgiiv6xkk365q1l08qvaymxd4kpaya6r2g8yzkr7i2hms";
};
strictDeps = true;
# for scdoc
depsBuildBuild = [
pkg-config
+3 -1
View File
@@ -1,4 +1,4 @@
{ fetchgit, gawk, jq, lib, makeWrapper, slurp, stdenv, sway }:
{ fetchgit, gawk, jq, lib, makeWrapper, slurp, stdenv, sway, bash }:
stdenv.mkDerivation rec {
pname = "wlprop";
@@ -10,7 +10,9 @@ stdenv.mkDerivation rec {
sha256 = "sha256-ZJ9LYYrU2cNYikiVNTlEcI4QXcoqfl7iwk3Be+NhGG8=";
};
strictDeps = true;
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ bash ];
dontBuild = true;
installPhase = ''