<antifuchs> hm, not sure I asked this before, but what's the best way to pin a specific nixpkgs version? I'm using niv to pin all my other deps, would love to use it to pin nixpkgs, as well
<antifuchs> should I just set `nixpkgs.config.packageOverrides` to a function that returns my niv'd nixpkgs?
<antifuchs> huh, yeah, that's it, I think!
LnL has quit [Ping timeout: 260 seconds]
LnL has joined #nix-darwin
hke has quit [Read error: Connection reset by peer]
hke has joined #nix-darwin
<Mic92> antifuchs: nix flakes can do it for you, this is considered experimental for now, but will become the goto solution in future. You can also set your NIX_PATH with entries from niv in your configuration.nix.
<Mic92> I am not a heavy darwin-nix user, but I suppose their should be a similar mechanism for macOS.
peel has quit [Quit: Connection closed for inactivity]
ThaEwat has joined #nix-darwin
abathur has quit [Quit: abathur]
philr has quit [Ping timeout: 264 seconds]
adelbertc has joined #nix-darwin
<adelbertc> how do ir eference.. an "existing overlay" like https://github.com/nix-community/emacs-overlay in my (non-NixOS) system (macOS)? I dump my own overlays in `~/.config/nixpkgs/overlays/` but I don't know how I would reference the Emacs one?
ThaEwat has quit [Remote host closed the connection]
adelbertc has quit [Quit: Connection closed for inactivity]
<aterius> You could do something like this
<aterius> echo "import (builtins.fetchTarball {
<aterius> })" >> $HOME/.config/nixpkgs/overlays/emacs.nix
abathur has joined #nix-darwin
philr has joined #nix-darwin