twlz0ne/nix-gccemacs-darwin

How to use with home-manager on darwin

lccambiaghi opened this issue · 7 comments

Hi, how can I add emacsGccDarwin to my home.packages, using cache? Thank you very much!

It seems impossible.

sycured @sycured Jun 07 23:30
I just tried nix-env -i 2fa-git -f https://github.com/sycured/nixpkg-2fa/archive/master.tar.gz and it's working but I want to simplify it to nix-env -i 2fa-git because I've ~/.config/nixpkgs/config.nix with all packages that I use/need.
Have you any idea?

Domen Kožar @domenkozar Jun 08 16:13
@sycured so you got it working to substitute from cachix if I'm reading correctly?
I wonder what was the issue for you - going to prepare some docs for that

See https://gitter.im/cachix/Lobby?at=5edd081ea91f120a6cebd8cb for more information.

It should work.

I've been using nix-gccemacs-darwin with home-manager just fine, see this, I use niv to keep track of the revision, or see this which shows to use pkgs.fetchFromGitHub to make it work.

@lccambiaghi did you get it working?

Hi @siraben in the meanwhile I migrated to nix flakes... so my issue would be rephrased to: "how to use with flakes on nix-darwin"

@lccambiaghi I converted it to flakes on my fork, if you do cachix use siraben then nix build github:siraben/nix-gccemacs-darwin/flake#emacsGccDarwin should work.

@lccambiaghi let me know if it worked.