Skip to content
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

Use absolute Nix paths in homemade scripts #252

Merged
merged 5 commits into from
Aug 4, 2023

Conversation

kachick
Copy link
Owner

@kachick kachick commented Aug 4, 2023

No description provided.

@kachick kachick marked this pull request as draft August 4, 2023 14:26
# - Tiny tools by me, they may be rewritten with another language.
{
# - Keep *.bash in shellscript naming in this repo for maintainability, the extname should be trimmed in the symlinks
xdg.dataFile."homemade/bin/add_nix_channels".source = ../home/.local/share/homemade/bin/add_nix_channels.bash;
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep this for now, because I don't have strong confidence in this way yet. And this script is used in very bootstrapping phase...

# FAQ
#
# A. How to make executable? .text= makes syms, that links to non executable file
# Q. https://github.com/nix-community/home-manager/blob/15043a65915bcc16ad207d65b202659e4988066b/modules/xsession.nix#L195C1-L197
Copy link
Owner Author

@kachick kachick Aug 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can realize executable without nix-community/home-manager#3090, but I don't understand the background deeply 🤔

@kachick kachick marked this pull request as ready for review August 4, 2023 15:09
@kachick kachick merged commit b9585e5 into main Aug 4, 2023
10 checks passed
@kachick kachick deleted the homemades-with-absolute-nix-path branch August 4, 2023 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant