Open MyGitHubBlueberry opened 6 months ago
Maybe you could provide script for nixos install?
In your start.sh
:
...
## Directories ----------------------------
DIR=`pwd/result`
...
This should work, I think.
Please, let me know if you solve the problem :)
This is not an appropriate way of creating a nix derivation. Feel free to take inspiration from my package.nix
for these launchers and themes.
Hello there. I'm trying to make this package work with nixos. Here to ask for small script changes to make installation truly effortless. I attach
flake.nix
anddefault.nix
to this post.What is the problem, exactly? After running
nix build
, I should run nix run from the package directory. Here it is:result
folder auto-generates afternix build
. Andnix run
(also from the same directory because it relies on flakes) launches the installation process. The problem is that install script in the repo has$pwd
varriable in it which represents the current directory. And then the script relies on folders which should be in that directory, namelyfonts
andfiles
.As you can see, looking at the tree, there is no such directories (they are in
result
folder).Work around is to go to result and then
./bin/rofi-extended
and then all installs as should, but i don't like this approach, so here I am, asking for help :)Btw, I not feel like maintaining this nix package myself, so if there are volunteers or developers themselves, please, feel free to take my code.
default.nix
flake.nix