Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

How to use with home-manager on darwin #3

Open
lccambiaghi opened this issue Nov 30, 2020 · 7 comments
Open

How to use with home-manager on darwin #3

lccambiaghi opened this issue Nov 30, 2020 · 7 comments

Comments

@lccambiaghi
Copy link

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

@twlz0ne
Copy link
Owner

twlz0ne commented Dec 3, 2020

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.

@domenkozar
Copy link

It should work.

@siraben
Copy link

siraben commented Dec 29, 2020

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.

@siraben
Copy link

siraben commented Jan 24, 2021

@lccambiaghi did you get it working?

@lccambiaghi
Copy link
Author

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"

@siraben
Copy link

siraben commented Aug 7, 2021

@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.

@siraben
Copy link

siraben commented Aug 15, 2021

@lccambiaghi let me know if it worked.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants