Merge pull request #39970 from yorickvP/patch-1

impure.nix: stringify path from NIX_PATH
This commit is contained in:
John Ericson 2018-05-04 14:08:22 -04:00 committed by GitHub
commit 9c86ccb6af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ in
# fix-point made by Nixpkgs.
overlays ? let
isDir = path: pathExists (path + "/.");
pathOverlays = try <nixpkgs-overlays> "";
pathOverlays = try (toString <nixpkgs-overlays>) "";
homeOverlaysFile = homeDir + "/.config/nixpkgs/overlays.nix";
homeOverlaysDir = homeDir + "/.config/nixpkgs/overlays";
overlays = path: