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
oh-my-fish: init at 6 #42458
oh-my-fish: init at 6 #42458
Conversation
What your current derivation does is just copy the oh-my-fish source into the output, which doesn't work very well if anybody wants to actually use it. Reading the oh-my-fish Readme I see there's an install script in And some pointers on the current code: Use |
3320d81
to
4dd34f3
Compare
@infinisil: Thank you for your feedback! The OMF install script copies / backs up some dotfiles, which (in my limited experience) seemed problematic given install phase |
I mean to put it into $out/bin for the runtime, so that the install script can be run by the user who needs to install it. I see you put the install instructions into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please answer Infinisil's questions
Thanks @ryantm, looks like I missed this somehow.
This sounds like a reasonable improvement over my progress. |
@tycho01 any update on this? |
@mmahut sorry I haven't tried much anymore. feel free to pick it up if you'd like. |
fair enough. |
Motivation for this change
more packages!
Things done
sandbox
innix.conf
on non-NixOS)Tested compilation of all pkgs that depend on this change usingnix-shell -p nox --run "nox-review wip"
Tested execution of all binary files (usually in./result/bin/
)nix path-info -S
before and after)This is my first package, and I looked at
oh-my-zsh
for inspiration.However, I'm not quite content at similarly handling the
~/.config
dotfiles the way I did now.I'd appreciate pointers on a more idiomatic approach there.
Right now, I'm not sure when
longDescription
prints, because for me it didn't on install.I'm unhappy about the
fish
line as well, as it looks like it should be run afterwards as well, though I'd prefer to minimize manual involvement...