New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make-symlinks-relative: fix no such file or directory if output is cr… #204692
Conversation
…eated 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
Maybe those builds are wrong then? Isn't it rather postBuild or postInstall or installPhase where outputs should be written? Doing that in fixup sounds wrong. |
Yeah maybe but wouldn't it be better for this hook to run on symlinks added in postFixup Afaik there have been no issues caused by this hook |
@andir anymore questions or do you think this is ready to merge? |
@ofborg build sway zsh |
I haven't tested this, so I can't really give a +1 just yet. I'll try to test this on the weekend. |
b176fbd
to
11b49fa
Compare
i added a test for the hook
|
also tested with
with
|
Then we should at least error out in such scenarios instead of silently continuing. |
Feel free. I'll yield on this issue. You seem to know what you are doing. Don't mention me in this PR again. Thanks. |
Alright, thanks for the hook. |
@ofborg build tests.hooks |
Mention me if there are issues |
…eated in postFixup
wlroots(and others) have
because the examples output is created in postFixup while this hook runs in fixupPhase
Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes