at master 25 lines 367 B view raw
1{ 2 lib, 3 stdenv, 4 bootstrapTools, 5 unpack, 6}: 7 8builtins.derivation { 9 inherit (stdenv.hostPlatform) system; 10 11 name = "bootstrap-tools"; 12 builder = "${unpack}/bin/bash"; 13 14 args = [ 15 "${unpack}/bootstrap-tools-unpack.sh" 16 bootstrapTools 17 ]; 18 19 PATH = lib.makeBinPath [ 20 (builtins.placeholder "out") 21 unpack 22 ]; 23 24 allowedReferences = [ "out" ]; 25}