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:
parent
52bf9b86bb
commit
581fc47783
3 changed files with 27 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue