error building flake
Closed this issue · 1 comments
bketelsen commented
You are under no obligation to answer this question, but I'm a n00b with Nix and can't figure out why it isn't working:
my fork didn't build:
❯ nix build "github:bketelsen/nome#homeConfigurations.brianjk.activationPackage"
error: anonymous function at /nix/store/99yydag2q2kf60jpk46srd1rnqc4z7fg-source/home/bin.nix:1:1 called without required argument 'homeDirectory'
at /nix/store/99yydag2q2kf60jpk46srd1rnqc4z7fg-source/home/packages.nix:4:9:
3| let
4| bin = import ./bin.nix {
| ^
5| inherit (pkgs) writeScriptBin;
(use '--show-trace' to show detailed location information)
in nome on main via impure (nix-shell)
so I tried building yours directly:
❯ nix build "github:the-nix-way/nome#homeConfigurations.lucperkins.activationPackage"
error: anonymous function at /nix/store/4z51xkazh2zgilf4mzqgkb6bdzj5q269-source/home/bin.nix:1:1 called without required argument 'homeDirectory'
at /nix/store/4z51xkazh2zgilf4mzqgkb6bdzj5q269-source/home/packages.nix:4:9:
3| let
4| bin = import ./bin.nix {
| ^
5| inherit (pkgs) writeScriptBin;
(use '--show-trace' to show detailed location information)
in nome on main via impure (nix-shell)
and it doesn't build either. This is M1/Mac, nix version 2.10.3.
Any ideas?
lucperkins commented
@bketelsen Great catch! The error was totally on my side. Merge the latest HEAD
(f84f1cf) and you should be good to go, but let me know if not!