mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
* Sync with the trunk.
This commit is contained in:
commit
587dc8aa00
16 changed files with 106 additions and 42 deletions
|
@ -6,11 +6,11 @@ drv=$4
|
|||
|
||||
echo "HOOK for $drv" >&2
|
||||
|
||||
outPath=$(sed 's/Derive(\[("out",\"\([^\"]*\)\".*/\1/' $drv)
|
||||
outPath=`sed 's/Derive(\[("out",\"\([^\"]*\)\".*/\1/' $drv`
|
||||
|
||||
echo "output path is $outPath" >&2
|
||||
|
||||
if $(echo $outPath | grep -q input-1); then
|
||||
if `echo $outPath | grep -q input-1`; then
|
||||
echo "# accept" >&2
|
||||
read x
|
||||
echo "got $x"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue