Nix flake show: error: a 'x86_64-darwin' with features {} is required to build ...-emanote.drv' #133
-
Describe the bug When trying to either show or include the flake in my NixOS system, I get the following error:
To Reproduce Run Expected behavior I expect the flake outputs to be shown, similar to nix flake show. I also expect the system to build when I include the flake in my flake-inputs ( Note I am not the most advanced Nix user, so this might also be something on my end. Desktop (please complete the following information):
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
Hmm, fwiw I have no issues using this flake on my nixos-config: https://github.com/srid/nixos-config/blob/f70e13b40a88f2d5fbbf0dcb43d8b5db40271966/flake.nix#L18 I simply refer to it as https://github.com/srid/nixos-config/blob/f70e13b40a88f2d5fbbf0dcb43d8b5db40271966/home.nix#L6 I don't know what the |
Beta Was this translation helpful? Give feedback.
-
Haha, guess that makes us two 👍
Actually I have no idea. I just took a look at the Neuron and Emanote documents and the Nixos Wiki but couldn't find a clear, understandable answer -- so I went with my gut. This is also why I mentioned the
As I am currently starting at a few other dumpster fires in my own config (you really don't want to know) I am going to extinguish them first (or die trying), then I take a look at your config and try to get it to work myself and then --if that doesn't work-- I come back and bug you about it again. That means I will close this for the time being -- if worst comes to worst, we can open it again. PS: Emanote looks absolutely awesome! |
Beta Was this translation helpful? Give feedback.
-
(took me a while to find this discussion. good idea to move it here) Alright, I got one step further, but I don't like the direction it is taking me... :) The etcerror: builder for '/nix/store/j82d5b4fykwl3vp1ylzcw5q0245gsaz9-emanote-0.1.59.0.drv' failed with exit code 1;
last 10 log lines:
> /nix/store/zpfa1fc00k5r7zfknkigapxxn4kgiirc-binutils-wrapper-2.35.1/bin/ld.gold
> No pkg-config found
> Using runghc version 8.10.7 found on system at:
> /nix/store/pmpgk74zqzj2rq68ga907b7rkh5y660a-ghc-8.10.7/bin/runghc
> Using strip version 2.35 found on system at:
> /nix/store/kmqs0wll31ylwbqkpmlgbjrn6ny3myik-binutils-2.35.1/bin/strip
> Using tar found on system at:
> /nix/store/maz16dk6bgdn0zsxr2vv4ciy5p5bkrlx-gnutar-1.34/bin/tar
> No uhc found
> *** abort because of serious configure-time warning from Cabal |
Beta Was this translation helpful? Give feedback.
-
Actually there is a longer log somewhere.
|
Beta Was this translation helpful? Give feedback.
(took me a while to find this discussion. good idea to move it here)
Alright, I got one step further, but I don't like the direction it is taking me... :)
The
emanote = inputs.emanote.outputs.defaultPackage.${system};
appears to work, but now I get this error: