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

feature: Nix package or nix support? #66

Open
1 task done
Cyberskeptic opened this issue May 26, 2024 · 9 comments
Open
1 task done

feature: Nix package or nix support? #66

Cyberskeptic opened this issue May 26, 2024 · 9 comments
Labels
enhancement New feature or request

Comments

@Cyberskeptic
Copy link

Did you check the docs?

  • I have read all the Hyde docs

Is your feature request related to a problem? Please describe.

Installation doesnt work on nix, gives a make error:
install: target '/usr/lib/hyde-cli': No such file or directory
make: *** [Makefile:61: install] Error 1

Describe the solution you'd like

Either a nix package or an install script that supports nix.

Describe alternatives you've considered

I might be able to maybe manually install and move all the files and hunt down all the packages.

Additional context

No response

@Cyberskeptic Cyberskeptic added the enhancement New feature or request label May 26, 2024
@kRHYME7
Copy link
Collaborator

kRHYME7 commented May 26, 2024

install: target '/usr/lib/hyde-cli': No such file or directory

Hi this CLI cannot be used in nix as this is designed to be used in /usr/ /etc so only the typical linux package manager can be use for this. For nix we probably need to port or add some conditions for nix.

I think we can populate this inside ~/.local/ which is under the $USER scope?

I am not using nix, so can you provide me the file paths that are equivalent on nix?

  • /usr/share/hyde-cli
  • /etc/hyde-cli
  • /usr/bin

Note

For now there is no point of having a nix support if the file structure of Hyde cannot support it. There are attempts to this prasanthrangan/hyprdots#166

@Cyberskeptic
Copy link
Author

The ~/.local/ should work

@kRHYME7
Copy link
Collaborator

kRHYME7 commented May 27, 2024

my "guess" is /etc has the ~/.config counterpart right? Will use ~/.hyde-cli for /etc

share and bin will in in local.
so we can make

~/.local/lib/hyde-cli
~/.local/share/hyde-cli
~/.local/bin/hyde-cli

But again we need to make a good port of HyDE. Can we do it on home Manager?

@Cyberskeptic
Copy link
Author

Not the most experienced nix user but I think this is a home manager type thing.

@kRHYME7
Copy link
Collaborator

kRHYME7 commented May 27, 2024

https://github.com/kRHYME7/Hyde-cli?tab=readme-ov-file#installation

you can install the CLI locally now, but this is just for future proofing as we do not have installer for another distro

@Cyberskeptic
Copy link
Author

That didnt work so I might sit down and make a nix package at some point.

@kRHYME7
Copy link
Collaborator

kRHYME7 commented May 28, 2024

what do you mean by did not work any error or something? can nix OS use a MAKEFILE for installation?

@Cyberskeptic
Copy link
Author

There was no error, the operation completes but the commands arent there basically no matter how I try using it, and yes I have make installed so it is using the make file, the output is normal.

@kRHYME7
Copy link
Collaborator

kRHYME7 commented May 29, 2024

Cool you needed to add ~/.local/bin to PATH or how nixOS handles this ?

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants