From 9b00073cc017f0b5cb684fe5d1cb8805007df6d2 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Tue, 10 Dec 2019 16:45:33 -0500 Subject: [PATCH] apply our overlay regardless of how called --- nix/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nix/default.nix b/nix/default.nix index 2e9dd5a78..d993c1a19 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -1,2 +1,3 @@ -{ pkgs ? import { overlays = [ (import ./overlays.nix) ]; } }: -pkgs.python2.pkgs.callPackage ./tahoe-lafs.nix { } +{ pkgs ? import { } }: +let pkgs' = import pkgs.path { overlays = [ (import ./overlays.nix) ]; }; +in pkgs'.python2.pkgs.callPackage ./tahoe-lafs.nix { }