Hi, I’m trying to get the Zen-browser flake to work locally. By this I mean that I want to copy the contents of the flake in my nixos-config directory and refer to it in main flake.
I have the following folder tree:
pkgs
zen
flake.nix
zen.desktop
flake.nix
flake.lock
Now i my main flake I do:
inputs = {
...
zen-browser = {
url = "path:./pkgs/zen/";
inputs.nixpkgs.follows = "nixpkgs";
};
...
}
but when I do rebuild switch I get this error:
error: builder for '/nix/store/07q96sqijbvcw1qpcayilhcamfypz72c-zen-browser-1.0.1-a.16.drv' failed with exit code 1;
last 2 log lines:
> Running phase: installPhase
> install: cannot stat '/nix/store/d89x2f4s2zyg3za4y1h0q2ivhdjfp1dv-451s1z9y3c3jmzck61k0hbchbmvqhm10-source/zen.desktop': No such file or directory
When I just go in /pkgs/zen and do nix build .#specific
it does work without issues.
Is my approach to this flawed?