From 4786953eeb07ebf57034b790a67d19fdf9c077ab Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Wed, 3 Mar 2021 12:30:00 +0100 Subject: [PATCH] garlic: fix self/super with correct scope The callPackage function was trying to find packages in bsc.self before the self of the input parameters. --- garlic/index.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/garlic/index.nix b/garlic/index.nix index 815864c..e7f9e3d 100644 --- a/garlic/index.nix +++ b/garlic/index.nix @@ -115,15 +115,23 @@ }; # Apps for Garlic - apps = callPackage ./apps/index.nix { }; + apps = callPackage ./apps/index.nix { + inherit self super bsc; + }; # Experiments - exp = callPackage ./exp/index.nix { }; + exp = callPackage ./exp/index.nix { + inherit self super bsc; + }; # Dataset generators from resultTree - ds = callPackage ./ds/index.nix { }; + ds = callPackage ./ds/index.nix { + inherit self super bsc; + }; # Figures generated from the datasets - fig = callPackage ./fig/index.nix { }; + fig = callPackage ./fig/index.nix { + inherit self super bsc; + }; }