1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 14:21:48 +02:00

* Fix the build hook mechanism; pass the pointer graph to the hook.

This commit is contained in:
Eelco Dolstra 2005-01-25 11:55:43 +00:00
parent 52bf9b86bb
commit 581fc47783
3 changed files with 27 additions and 5 deletions

View file

@ -1,12 +1,12 @@
#! /bin/sh
set -x
#set -x
drv=$4
echo "HOOK for $drv" >&2
outPath=$(sed 's/Derive(\[\"\([^\"]*\)\".*/\1/' $drv)
outPath=$(sed 's/Derive(\[("out",\"\([^\"]*\)\".*/\1/' $drv)
echo "output path is $outPath" >&2