Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, makeWrapper, coreutils, gnused, gnugrep, diffutils, nix, git, jq }: 2 3stdenv.mkDerivation { 4 name = "common-updater-scripts"; 5 6 nativeBuildInputs = [ makeWrapper ]; 7 8 dontUnpack = true; 9 10 installPhase = '' 11 mkdir -p $out/bin 12 cp ${./scripts}/* $out/bin 13 14 for f in $out/bin/*; do 15 wrapProgram $f --prefix PATH : ${lib.makeBinPath [ coreutils gnused gnugrep nix diffutils git jq ]} 16 done 17 ''; 18}