From 4dd94ee59d07b0fd3965d344c384811fbf8ac32a Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sat, 27 Jan 2024 21:06:23 -0700 Subject: [PATCH] switch nixpath back to strings because of nixos only works as list of attrsets in darwin --- modules/common/shell/nixpkgs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/common/shell/nixpkgs.nix b/modules/common/shell/nixpkgs.nix index fdb5247..5345773 100644 --- a/modules/common/shell/nixpkgs.nix +++ b/modules/common/shell/nixpkgs.nix @@ -77,7 +77,7 @@ nix = { # Set channel to flake packages, used for nix-shell commands - nixPath = [{ nixpkgs = pkgs.path; }]; + nixPath = [ "nixpkgs=${pkgs.path}" ]; # Set registry to this flake's packages, used for nix X commands registry.nixpkgs.to = {