Closed aleeusgr closed 1 year ago
add the cardano-node flake to your flake inputs and add inputs.cardano-node.packages.x86_64-linux.cardano-node
to home.packages or environment.systemPackages
https://www.tweag.io/blog/2020-07-31-nixos-flakes/
error: anonymous function at /nix/store/n0f21zpy9w90sa9v75iwx6fmk897z3nw-source/nixos/lib/eval-config.nix:11:1 called with unexpected argument 'packages'
at /nix/store/n0f21zpy9w90sa9v75iwx6fmk897z3nw-source/flake.nix:22:11:
21| nixosSystem = args:
22| import ./nixos/lib/eval-config.nix (
| ^
23| args // {
A post in our tech chat implied that adding a package outside of the Nixpkgs tree using using Chapter 66. Writing NixOS Modules
harryprayiv — Yesterday at 23:27
nix run github:input-output-hk/cardano-node#mainnet/node
from my home.nix filedeclarative my node working from the configuration switch by adding the flake to my home.nix file.
I was wondering how I would do the same for the cardano-cli command. I know how to build it from nix but I can’t get the flake to work from my configuration since it is compiled from the exact same repo as “cardano-node”
https://reddit.com/r/NixOS/comments/z18obt/adding_a_flake_to_my_config
figured it out just now. added a new package to my home.nix like so
also known as: