September 15, 2024 ~ 1 min read

Viewing lambda function arguments


nix-repl> pkgs = import <nixpkgs> { }

nix-repl> f = import "${pkgs.path}/pkgs/development/compilers/gcc-arm-embedded/13"

nix-repl> builtins.functionArgs f
{
  fetchurl = false;
  lib = false;
  libxcrypt-legacy = false;
  ncurses5 = false;
  python39 = false;
  runtimeShell = false;
  stdenv = false;
}

Sebastian BolaƱos

Hi, I'm Sebastian. I'm a software developer from Costa Rica. You can follow me on Twitter. I enjoy working on distributed systems.