feat(*): initialize new Snix infrastructure
Co-Authored-By: edef <edef@edef.eu> Co-Authored-by: Ryan Lahfa <raito@lix.systems> Change-Id: Ica1cda177a236814de900f50a8a61d288f58f519
This commit is contained in:
parent
067eff3427
commit
a52ea3675c
124 changed files with 27723 additions and 1631 deletions
|
|
@ -1,31 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "deploy-whitby";
|
||||
|
||||
phases = [ "installPhase" "installCheckPhase" ];
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${./deploy-whitby.sh} $out/bin/deploy-whitby.sh \
|
||||
--prefix PATH : ${with pkgs; lib.makeBinPath [
|
||||
ansi2html
|
||||
git
|
||||
jq
|
||||
nvd
|
||||
]}
|
||||
'';
|
||||
|
||||
installCheckInputs = with pkgs; [
|
||||
shellcheck
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
shellcheck $out/bin/deploy-whitby.sh
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue