Merge pull request #220004 from Artturin/strictdepsenables
pkgs/tools/wayland: enable strictDeps
This commit is contained in:
@@ -11,6 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1vzbgz8y9gj4lszsx4iczfbrj373sl4wi43j7rp46zfcbw323d4r";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -11,7 +11,8 @@ stdenv.mkDerivation {
|
||||
sha256 = "0yiqljamcj9x8z801bwj7r30sskrwv4rm6sdf39j83jqql1fyq7y";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [
|
||||
(haskellPackages.ghcWithPackages (hs: with hs; [ posix-escape ]))
|
||||
];
|
||||
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nixos-option";
|
||||
src = ./.;
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ boost nix ];
|
||||
meta = with lib; {
|
||||
|
||||
@@ -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 ];
|
||||
|
||||
@@ -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 ];
|
||||
|
||||
|
||||
@@ -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 = ''
|
||||
|
||||
@@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0l71v3fzgiiv6xkk365q1l08qvaymxd4kpaya6r2g8yzkr7i2hms";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
# for scdoc
|
||||
depsBuildBuild = [
|
||||
pkg-config
|
||||
|
||||
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user