blob: af0d7af1293f1ee4c187235440e8a2d5d8547d2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ lib, pkgs
, overrides ? (self: super: {})}:
let
inside = (self:
let callPackage = pkgs.newScope self;
in rec {
interpreter = callPackage ./factor99.nix { inherit (pkgs) stdenv; };
# Convenience access for using the returned attribute the same way as the
# interpreter derivation. Takes a list of runtime libraries as its only
# argument.
inherit (self.interpreter) withLibs;
});
extensible-self = lib.makeExtensible (lib.extends overrides inside);
in extensible-self
|