make-symlinks-relative: fix no such file or directory if output is created in postFixup
wlroots(and others) have ``` wlroots> +++ find /nix/store/3a0xwszw8n5dzzhsgfnilvsqi4hk565s-wlroots-0.15.1-examples -type l -print0 wlroots> find: '/nix/store/3a0xwszw8n5dzzhsgfnilvsqi4hk565s-wlroots-0.15.1-examples': No such file or directory ``` because the examples output is created in postFixup while this hook runs in fixupPhase
This commit is contained in:
parent
c96b7c6974
commit
6c01681679
|
@ -1,4 +1,4 @@
|
||||||
fixupOutputHooks+=(_makeSymlinksRelative)
|
postFixupHooks+=(_makeSymlinksRelative)
|
||||||
|
|
||||||
# For every symlink in $output that refers to another file in $output
|
# For every symlink in $output that refers to another file in $output
|
||||||
# ensure that the symlink is relative. This removes references to the output
|
# ensure that the symlink is relative. This removes references to the output
|
||||||
|
|
Loading…
Reference in a new issue