You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 24, 2024. It is now read-only.
Describe the bug
Fleek failed to apply after following the installation instructions
To Reproduce
sh <(curl -L https://nixos.org/nix/install) --daemon # I installed nix for this :)
mkdir -p ~/.config/nix\
echo"experimental-features = nix-command flakes">>~/.config/nix/nix.conf
nix run github:ublue-os/fleek -- generate --help\
nix run github:ublue-os/fleek -- init
nix run github:ublue-os/fleek -- apply
And I observed the error : Could not find suitable profile directory, tried /home/james/.local/state/home-manager/profiles and /nix/var/nix/profiles/per-user/james
I created the first directory and tried to reapply and saw the same failure -- after I created /nix/var/nix/profiles/per-user/james fleek worked like a charm
Expected behavior
There should be no failure. Very likely that this is a nix specific because i didnt use the zero to nix installation. Figure I'd post for posterity :)
Environment
OS: Ubuntu 20.04
Shell: zsh
fleek version: boostrapped, 0.9.0
Additional context
Following the error message resolved this issue! Figure I would post anyway so people aren't suprised in the Future. Excited to explore fleek! Seems like a great tool.
Would love to have some sort of forum how to do a little Q+. Now im trying to figure out how I can customize my zshrc and have fleek version control that. After some googling, I see that nix programs are the way to go. The concept of a program makes sense and seems very powerful but how they plug into fleek is a little bit confusing. (e.g. where do I create a file to describe my program? Or is a file required at all?).
UPDATE 1: I found the programs.nix file! Its in the same directory as the fleek.yml file -- just had to follow the symlink
The text was updated successfully, but these errors were encountered:
Describe the bug
Fleek failed to apply after following the installation instructions
To Reproduce
And I observed the error :
Could not find suitable profile directory, tried /home/james/.local/state/home-manager/profiles and /nix/var/nix/profiles/per-user/james
I created the first directory and tried to reapply and saw the same failure -- after I created
/nix/var/nix/profiles/per-user/james
fleek worked like a charmExpected behavior
There should be no failure. Very likely that this is a nix specific because i didnt use the zero to nix installation. Figure I'd post for posterity :)
Environment
Additional context
Following the error message resolved this issue! Figure I would post anyway so people aren't suprised in the Future. Excited to explore fleek! Seems like a great tool.
Would love to have some sort of forum how to do a little Q+. Now im trying to figure out how I can customize my zshrc and have fleek version control that. After some googling, I see that nix programs are the way to go. The concept of a program makes sense and seems very powerful but how they plug into fleek is a little bit confusing. (e.g. where do I create a file to describe my program? Or is a file required at all?).
UPDATE 1: I found the programs.nix file! Its in the same directory as the fleek.yml file -- just had to follow the symlink
The text was updated successfully, but these errors were encountered: