pkgs: remove 'shellcheck' as a 'buildPhase'

I already verify those scripts with my pre-commit hook. And that way
avoid spurious build failures in case a (transitive) dependency is
broken.
This commit is contained in:
Bruno BELANYI 2022-06-22 13:50:47 +02:00
parent 56dcf94ba0
commit abc67487a3
7 changed files with 14 additions and 35 deletions

View file

@ -1,4 +1,4 @@
{ lib, bitwarden-cli, coreutils, jq, keyutils, makeWrapper, rofi, shellcheck, stdenvNoCC }: { lib, bitwarden-cli, coreutils, jq, keyutils, makeWrapper, rofi, stdenvNoCC }:
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "bw-pass"; pname = "bw-pass";
version = "0.1.0"; version = "0.1.0";
@ -7,14 +7,11 @@ stdenvNoCC.mkDerivation rec {
buildInputs = [ buildInputs = [
makeWrapper makeWrapper
shellcheck
]; ];
dontUnpack = true; dontUnpack = true;
buildPhase = '' dontBuild = true;
shellcheck $src
'';
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin

View file

@ -1,4 +1,4 @@
{ lib, libnotify, makeWrapper, pamixer, shellcheck, stdenvNoCC }: { lib, libnotify, makeWrapper, pamixer, stdenvNoCC }:
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "change-audio"; pname = "change-audio";
version = "0.3.0"; version = "0.3.0";
@ -7,14 +7,11 @@ stdenvNoCC.mkDerivation rec {
buildInputs = [ buildInputs = [
makeWrapper makeWrapper
shellcheck
]; ];
dontUnpack = true; dontUnpack = true;
buildPhase = '' dontBuild = true;
shellcheck $src
'';
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin

View file

@ -1,4 +1,4 @@
{ lib, brightnessctl, libnotify, makeWrapper, shellcheck, stdenvNoCC }: { lib, brightnessctl, libnotify, makeWrapper, stdenvNoCC }:
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "change-backlight"; pname = "change-backlight";
version = "0.1.0"; version = "0.1.0";
@ -7,14 +7,11 @@ stdenvNoCC.mkDerivation rec {
buildInputs = [ buildInputs = [
makeWrapper makeWrapper
shellcheck
]; ];
dontUnpack = true; dontUnpack = true;
buildPhase = '' dontBuild = true;
shellcheck $src
'';
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin

View file

@ -1,4 +1,4 @@
{ lib, fzf, makeWrapper, nix-index, shellcheck, stdenvNoCC }: { lib, fzf, makeWrapper, nix-index, stdenvNoCC }:
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "comma"; pname = "comma";
version = "0.1.0"; version = "0.1.0";
@ -7,14 +7,11 @@ stdenvNoCC.mkDerivation rec {
buildInputs = [ buildInputs = [
makeWrapper makeWrapper
shellcheck
]; ];
dontUnpack = true; dontUnpack = true;
buildPhase = '' dontBuild = true;
shellcheck $src
'';
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin

View file

@ -1,4 +1,4 @@
{ lib, coreutils, git, gnused, makeWrapper, shellcheck, stdenvNoCC }: { lib, coreutils, git, gnused, makeWrapper, stdenvNoCC }:
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "diff-flake"; pname = "diff-flake";
version = "0.2.0"; version = "0.2.0";
@ -7,14 +7,11 @@ stdenvNoCC.mkDerivation rec {
buildInputs = [ buildInputs = [
makeWrapper makeWrapper
shellcheck
]; ];
dontUnpack = true; dontUnpack = true;
buildPhase = '' dontBuild = true;
shellcheck $src
'';
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin

View file

@ -1,4 +1,4 @@
{ lib, makeWrapper, openssh, rsync, shellcheck, sshpass, stdenvNoCC }: { lib, makeWrapper, openssh, rsync, sshpass, stdenvNoCC }:
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "drone-rsync"; pname = "drone-rsync";
version = "0.1.0"; version = "0.1.0";
@ -7,14 +7,11 @@ stdenvNoCC.mkDerivation rec {
buildInputs = [ buildInputs = [
makeWrapper makeWrapper
shellcheck
]; ];
dontUnpack = true; dontUnpack = true;
buildPhase = '' dontBuild = true;
shellcheck $src
'';
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin

View file

@ -1,4 +1,4 @@
{ lib, coreutils, gnused, makeWrapper, shellcheck, stdenvNoCC, xorg }: { lib, coreutils, gnused, makeWrapper, stdenvNoCC, xorg }:
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "i3-get-window-criteria"; pname = "i3-get-window-criteria";
version = "0.1.0"; version = "0.1.0";
@ -7,14 +7,11 @@ stdenvNoCC.mkDerivation rec {
buildInputs = [ buildInputs = [
makeWrapper makeWrapper
shellcheck
]; ];
dontUnpack = true; dontUnpack = true;
buildPhase = '' dontBuild = true;
shellcheck $src
'';
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin