Use nixpkgs as unstable on darwin Re-installing seems to have changed how nix is installed.
Alan Pearce alan@alanpearce.eu
Tue, 08 Oct 2019 19:39:10 +0200
2 files changed, 2 insertions(+), 4 deletions(-)
M user/modules/emacs.nix → user/modules/emacs.nix
@@ -3,7 +3,7 @@ let inherit (pkgs) stdenv; - pkgsUnstable = if stdenv.isDarwin then import <nixpkgs-unstable> {} else import <nixos-unstable> {}; + pkgsUnstable = if stdenv.isDarwin then import <nixpkgs> {} else import <nixos-unstable> {}; editorScript = pkgs.writeScriptBin "edit" '' #!${pkgs.runtimeShell}
M user/modules/nixpkgs.nix → user/modules/nixpkgs.nix
@@ -6,9 +6,7 @@ ./nix.nix ]; nixpkgs.overlays = [ (self: super: { - unstable = import <nixpkgs-unstable> { - config = config.nixpkgs.config; - }; + unstable = self; }) ]; }