504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
16 lines
501 B
Nix
16 lines
501 B
Nix
{ 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
|