cleverca22
11/22/2016 - 5:37 PM

default.nix

with import <nixpkgs> { config = {}; };

let
  callPackage = pkgs.newScope self;
  self = {
    foo = callPackage ./foo.nix {};
    bar = callPackage ./bar.nix {};
  };
in self